Skip to content

Commit ad101fe

Browse files
author
Tim Middleton
committed
cleanup
1 parent 17e9216 commit ad101fe

11 files changed

+18
-21
lines changed

coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/CoherenceApplicationType.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,14 @@ public class CoherenceApplicationType
4848

4949
public CoherenceApplicationType(Application app, Jvm jvm, String sMainClass)
5050
{
51-
String sDescription = f_mapClasses.get(sMainClass);
52-
String[] asParts = sMainClass.split("\\.");
53-
this.f_sName = "Coherence " + asParts[asParts.length - 1];
51+
String sDescription = f_mapClasses.get(sMainClass);
52+
String[] asParts = sMainClass.split("\\.");
53+
54+
this.f_sName = "Coherence " + asParts[asParts.length - 1];
5455
this.f_description = sDescription
5556
+ " (" + sMainClass + ")"
5657
+ "\nCommand Line:" + jvm.getJvmArgs();
57-
this.iconPath = IMAGE_PATH;
58+
this.iconPath = IMAGE_PATH;
5859
}
5960

6061
// ----- accessors ------------------------------------------------------

coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/GlobalPreferences.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ public void setDisableMbeanCheck(boolean fValue)
380380

381381
/**
382382
* Indicates if the cluster snapshot tab is dispalyed.
383+
*
383384
* @return true if the cluster snapshot tab is displayed
384385
*/
385386
public boolean isClusterSnapshotEnabled()
@@ -389,6 +390,7 @@ public boolean isClusterSnapshotEnabled()
389390

390391
/**
391392
* Set if the cluster snapshot tab is displayed.
393+
*
392394
* @param fValue if the cluster snapshot tab is displayed
393395
*/
394396
public void setClusterSnapshotEnabled(boolean fValue)
@@ -401,6 +403,7 @@ public void setClusterSnapshotEnabled(boolean fValue)
401403
*
402404
* @param sProperty property key
403405
* @param sDefault default
406+
*
404407
* @return a boolean value
405408
*/
406409
private boolean getBooleanProperty(String sProperty, String sDefault)
@@ -424,6 +427,7 @@ private boolean getBooleanProperty(String sProperty, String sDefault)
424427
*
425428
* @param sProperty property key
426429
* @param nDefault default
430+
*
427431
* @return an integer value
428432
*/
429433
private int getIntegerProperty(String sProperty, int nDefault)
@@ -588,5 +592,8 @@ private void setBooleanProperty(String sProperty, boolean fValue)
588592

589593
// ----- data members ------------------------------------------------------
590594

595+
/**
596+
* Preferences.
597+
*/
591598
private final Preferences f_prefs;
592599
}

coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/Localization.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
* <br>
3434
* <ul>
3535
* <li>Bundle_[language]_[country].properties o</li>
36-
* <li>Bundle_[language].properties<li>
37-
* </li>
36+
* <li>Bundle_[language].properties</li>
3837
* </ul>
3938
* For example:<br>
4039
* <ul>

coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/VisualVMModel.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,7 @@ public void setSelectedCache(Pair<String, String> selectedCache)
837837

838838
/**
839839
* Sets the value for is first refresh.
840+
*
840841
* @param fIsFirstRefresh the value for is first refresh
841842
*/
842843
public void setIsFirstRefresh(boolean fIsFirstRefresh)

coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/datasource/CoherenceClusterDataSourceDescriptor.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,6 @@ public CoherenceClusterDataSourceDescriptor(CoherenceClusterDataSource dataSourc
5656
EXPAND_NEVER);
5757
}
5858

59-
/**
60-
* Returns true if the General properties section should be available for
61-
* the DataSource, false otherwise.
62-
*
63-
* @return true if the General properties section should be available for
64-
* the DataSource, false otherwise
65-
*
66-
* @since VisualVM 1.2
67-
*/
6859
@Override
6960
public boolean providesProperties()
7061
{

coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/datasource/CoherenceClusterDataSourceDescriptorProvider.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,5 @@ public static void unregister()
7575
/**
7676
* The static singleton instance of {@link CoherenceClusterDataSourceDescriptorProvider}.
7777
*/
78-
final private static CoherenceClusterDataSourceDescriptorProvider INSTANCE =
79-
new CoherenceClusterDataSourceDescriptorProvider();
78+
final private static CoherenceClusterDataSourceDescriptorProvider INSTANCE = new CoherenceClusterDataSourceDescriptorProvider();
8079
}

coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/datasource/CoherenceClusterDataSourceViewProvider.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,5 @@ public static void unregister()
8080
/**
8181
* The singleton instance of {@link CoherenceClusterDataSourceViewProvider}.
8282
*/
83-
final protected static CoherenceClusterDataSourceViewProvider INSTANCE =
84-
new CoherenceClusterDataSourceViewProvider();
83+
final protected static CoherenceClusterDataSourceViewProvider INSTANCE = new CoherenceClusterDataSourceViewProvider();
8584
}

coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/datasource/CoherenceClustersDataSource.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ public static void unregister()
9696
{
9797
DataSource.ROOT.getRepository().removeDataSource(sharedInstance());
9898
}
99+
99100
// ----- data members ---------------------------------------------------
100101

101102
/**

coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/panel/CoherencePersistencePanel.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ else if (GET_OPERATION_STATUS.equals(f_sOperation))
551551
*
552552
* @param sTitle the title to display on first line
553553
* @param asList the {@link String}[] of snapshots
554+
*
554555
* @return the formatted list
555556
*/
556557
private String getSnapshotList(String sTitle, String[] asList)

coherence-visualvm-plugin/src/main/java/com/oracle/coherence/plugin/visualvm/panel/CoherenceProxyPanel.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,5 +289,4 @@ public void updateData()
289289
* Last update time for stats.
290290
*/
291291
private long m_cLastUpdateTime = -1L;
292-
293292
}

0 commit comments

Comments
 (0)