The great tab cleanup of 2012

This commit is contained in:
Ben Gruver 2012-09-23 21:16:21 -07:00
parent 8d299c0222
commit 40c48da564
5 changed files with 1952 additions and 1944 deletions

View File

@ -262,7 +262,7 @@ public class ClassDefinition {
classDefItem.getClassType().getTypeDescriptor(), field.field.getShortFieldString()));
}
FieldDefinition.writeTo(fieldWriter, field, null, fieldAnnotations, false);
FieldDefinition.writeTo(fieldWriter, field, null, fieldAnnotations, false);
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -85,19 +85,19 @@ class RadixTreeNode<T> {
this.childern = childern;
}
public int getNumberOfMatchingCharacters(String key) {
int numberOfMatchingCharacters = 0;
public int getNumberOfMatchingCharacters(String key) {
int numberOfMatchingCharacters = 0;
while (numberOfMatchingCharacters < key.length() && numberOfMatchingCharacters < this.getKey().length()) {
if (key.charAt(numberOfMatchingCharacters) != this.getKey().charAt(numberOfMatchingCharacters)) {
break;
}
numberOfMatchingCharacters++;
}
return numberOfMatchingCharacters;
}
return numberOfMatchingCharacters;
}
@Override
public String toString() {
return key;
return key;
}
}

View File

@ -11,17 +11,17 @@ public abstract class VisitorImpl<T, R> implements Visitor<T, R> {
protected R result;
public VisitorImpl() {
this.result = null;
}
public VisitorImpl() {
this.result = null;
}
public VisitorImpl(R initialValue) {
this.result = initialValue;
}
public VisitorImpl(R initialValue) {
this.result = initialValue;
}
public R getResult() {
return result;
}
public R getResult() {
return result;
}
abstract public void visit(String key, RadixTreeNode<T> parent, RadixTreeNode<T> node);
abstract public void visit(String key, RadixTreeNode<T> parent, RadixTreeNode<T> node);
}