Skip to content

Commit

Permalink
Minor JavaDoc corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Oliver committed Mar 26, 2017
1 parent c463038 commit b8513eb
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
Expand Up @@ -101,7 +101,7 @@ protected AssemblyBuilder<CoherenceClusterMember, CoherenceCluster> createBuilde


/**
* Obtains the {@link CoherenceCluster} created by the {@link CoherenceClusterResource <R>}.
* Obtains the {@link CoherenceCluster} created by the {@link CoherenceClusterResource}.
*
* @return the {@link CoherenceCluster}
*/
Expand Down
Expand Up @@ -234,6 +234,8 @@ public DiagnosticsRecording using(Logger logger,
/**
* Creates a new {@link DiagnosticsRecording} with the specified name.
*
* @param name the name of the {@link DiagnosticsRecording}
*
* @return a new {@link DiagnosticsRecording}
*/
public static DiagnosticsRecording create(String name)
Expand Down Expand Up @@ -265,6 +267,8 @@ public static DiagnosticsRecording continued()
* Creates a nested {@link DiagnosticsRecording} section with a specified name. If there's no previously defined
* {@link DiagnosticsRecording}, a new {@link DiagnosticsRecording} with the specified name will be created.
*
* @param name the name of the {@link DiagnosticsRecording} section
*
* @return a new {@link DiagnosticsRecording}
*/
public static DiagnosticsRecording section(String name)
Expand Down
3 changes: 3 additions & 0 deletions bedrock-core/src/main/java/com/oracle/bedrock/util/Pair.java
Expand Up @@ -83,6 +83,9 @@ public Pair(X x,
* @param x the first value of the {@link Pair}
* @param y the second value of the {@link Pair}
*
* @param <X> the type of the first value of the {@link Pair}
* @param <Y> the type of the second value of the {@link Pair}
*
* @return a {@link Pair}
*/
public static <X, Y> Pair<X, Y> of(X x,
Expand Down
Expand Up @@ -385,9 +385,11 @@ public String getPathSeparator()


/**
* Determines the {@link String}the {@link OperatingSystem} uses to separate individual lines of text.
* Determines the {@link String} the {@link OperatingSystem} uses to separate individual lines of text.
* <p>
* eg: On *unix this is "\n", on Windows it is "\r\n"
*
* @return the line separator
*/
public String getLineSeparator()
{
Expand Down Expand Up @@ -541,6 +543,9 @@ public static OperatingSystem local()
* Determines the {@link OperatingSystem} based on the Java System Property
* defined os.name and os.version.
*
* @param osName the operating system name
* @param osVersion the operating system version
*
* @return the {@link OperatingSystem}
*/
public static OperatingSystem from(String osName,
Expand Down

0 comments on commit b8513eb

Please sign in to comment.