Skip to content

Commit

Permalink
refactor(ClassList): rename ntab into printNTabs
Browse files Browse the repository at this point in the history
  • Loading branch information
nharrand committed Mar 1, 2019
1 parent 0fe4c63 commit 7a3fe2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/fr/inria/yajta/api/ClassList.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public boolean get(String[] className) {
}
}

public String ntab(int n) {
public String printNTabs(int n) {
String res = "";
for(int i = 0; i < n; i++) {
res += "\t";
Expand All @@ -122,7 +122,7 @@ public String print() {
public String print(int tab) {
String res = "";
for(MyEntry<String, PackTree> entry : children.entryList()) {
res += ntab(tab) + entry.getKey() + " " + entry.getValue().toInclude + "\n";
res += printNTabs(tab) + entry.getKey() + " " + entry.getValue().toInclude + "\n";
res += entry.getValue().print(tab+1);
}
return res;
Expand Down

0 comments on commit 7a3fe2f

Please sign in to comment.