File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
olcut-core/src/main/java/com/oracle/labs/mlrg/olcut Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 30
30
31
31
/**
32
32
* Essentially a marker interface for any class that provides
33
- * @ Command commands for a command interpreter. Also provides a
33
+ * {@code @ Command} commands for a command interpreter. Also provides a
34
34
* little helpful meta-data.
35
35
*/
36
36
public interface CommandGroup {
Original file line number Diff line number Diff line change @@ -74,6 +74,9 @@ public interface ConfigurableMXBean {
74
74
75
75
/**
76
76
* Sets the values in a property list.
77
+ * @param property the property whose value we want to set
78
+ * @param values the value that the property should be set to.
79
+ * @return True if the values were set correctly.
77
80
*/
78
81
public boolean setValues (String property , String [] values );
79
82
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ public long getLastStartMillis() {
145
145
/**
146
146
* Gets the average time per click (start/stop)
147
147
* @deprecated Ambiguous units, use unit-specific get methods instead. Behavior of this method is undefined in subclasses.
148
- * @return
148
+ * @return The average time.
149
149
*/
150
150
public double getAvgTime () {
151
151
return getTime () / (double ) clicks ;
@@ -239,13 +239,14 @@ public static String formatMillisecondTime(long millis) {
239
239
TimeUnit .MILLISECONDS .toHours (millis ) % TimeUnit .DAYS .toHours (1 ),
240
240
TimeUnit .MILLISECONDS .toMinutes (millis ) % TimeUnit .HOURS .toMinutes (1 ),
241
241
TimeUnit .MILLISECONDS .toSeconds (millis ) % TimeUnit .MINUTES .toSeconds (1 ),
242
- TimeUnit .MILLISECONDS .toMillis (millis ) % TimeUnit .SECONDS .toMillis (1 )); }
242
+ TimeUnit .MILLISECONDS .toMillis (millis ) % TimeUnit .SECONDS .toMillis (1 ));
243
+ }
243
244
244
245
/**
245
246
* Creates a string representation to the nearest largest appropriate time unit.
246
247
* @deprecated Use toString() instead which gives a more accurate, but still scoped appropriately time string
247
- * @param millis
248
- * @return
248
+ * @param millis The time to convert to String.
249
+ * @return A String representation.
249
250
*/
250
251
@ Deprecated
251
252
public static String toTimeString (double millis ) {
You can’t perform that action at this time.
0 commit comments