Added changes to remove unwanted spaces
This commit is contained in:
parent
e13f7952b1
commit
1a0d8f4be0
|
@ -1,20 +1,20 @@
|
|||
package com.baeldung.exceptions.nosuchfielderror;
|
||||
|
||||
public class FieldErrorExample {
|
||||
|
||||
|
||||
public static void main(String... args) {
|
||||
|
||||
|
||||
fetchAndPrint();
|
||||
}
|
||||
|
||||
|
||||
public static String getDependentMessage() {
|
||||
|
||||
|
||||
return Dependent.message;
|
||||
}
|
||||
|
||||
|
||||
public static void fetchAndPrint() {
|
||||
|
||||
|
||||
System.out.println(getDependentMessage());
|
||||
}
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue