Skip to content

Commit d337700

Browse files
authored
Change method visibility to public in SystemInfo
1 parent 3571d6a commit d337700

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/main/java/io/github/project516/NumberGuessingGame/SystemInfo.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class SystemInfo {
1111
*
1212
* @return the JVM vendor name
1313
*/
14-
String vendor() {
14+
public String vendor() {
1515
return System.getProperty("java.vm.vendor");
1616
}
1717

@@ -20,7 +20,7 @@ String vendor() {
2020
*
2121
* @return the JVM name
2222
*/
23-
String name() {
23+
public String name() {
2424
return System.getProperty("java.vm.name");
2525
}
2626

@@ -29,7 +29,7 @@ String name() {
2929
*
3030
* @return the JVM version
3131
*/
32-
String version() {
32+
public String version() {
3333
return System.getProperty("java.vm.version");
3434
}
3535
}

0 commit comments

Comments
 (0)