Skip to content

Commit 7a3fe2f

Browse files
committed
refactor(ClassList): rename ntab into printNTabs
1 parent 0fe4c63 commit 7a3fe2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/fr/inria/yajta/api/ClassList.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public boolean get(String[] className) {
108108
}
109109
}
110110

111-
public String ntab(int n) {
111+
public String printNTabs(int n) {
112112
String res = "";
113113
for(int i = 0; i < n; i++) {
114114
res += "\t";
@@ -122,7 +122,7 @@ public String print() {
122122
public String print(int tab) {
123123
String res = "";
124124
for(MyEntry<String, PackTree> entry : children.entryList()) {
125-
res += ntab(tab) + entry.getKey() + " " + entry.getValue().toInclude + "\n";
125+
res += printNTabs(tab) + entry.getKey() + " " + entry.getValue().toInclude + "\n";
126126
res += entry.getValue().print(tab+1);
127127
}
128128
return res;

0 commit comments

Comments
 (0)