File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
core-java-modules/core-java-perf-2/src/main/java/com/baeldung/netbeanprofiler Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public static void solarSystem() throws IOException {
36
36
planet .add ("Earth" );
37
37
planet .add ("Venus" );
38
38
SolarSystem solarSystem = new SolarSystem (1 , "Sol System" , planet );
39
- solarSystem .getLogSolarSystem ();
39
+ solarSystem .logSolarSystem ();
40
40
41
41
File file = new File ("solarSystem.hprof" );
42
42
if (file .exists ()) {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public void removePlanet(String name) {
29
29
planet .remove (name );
30
30
}
31
31
32
- public void getLogSolarSystem () {
32
+ public void logSolarSystem () {
33
33
LOGGER .info (name );
34
34
LOGGER .info (String .valueOf (id ));
35
35
LOGGER .info (planet .toString ());
You can’t perform that action at this time.
0 commit comments