Skip to content

Commit 989abcc

Browse files
change printNi method to static
1 parent 107f405 commit 989abcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/src/classes/NestedInteger.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public List<NestedInteger> getList() {
4545
return list;
4646
}
4747

48-
public String printNi(NestedInteger thisNi, StringBuilder sb){
48+
public static String printNi(NestedInteger thisNi, StringBuilder sb){
4949
if(thisNi.isInteger()) {
5050
sb.append(thisNi.integer);
5151
sb.append(",");

0 commit comments

Comments
 (0)