Skip to content

Commit

Permalink
remove duplicate classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Coles committed Apr 19, 2021
1 parent 83d62d6 commit ee18353
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 633 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,19 @@ private ClassPointer resolveClass(final String clazz) {
}

}

class DeferredClassPointer implements ClassPointer {
private final Repository repository;
private final ClassName name;

DeferredClassPointer(final Repository repository, final ClassName name) {
this.repository = repository;
this.name = name;
}

@Override
public Optional<ClassInfo> fetch() {
return this.repository.fetchClass(this.name);
}

}
14 changes: 0 additions & 14 deletions pitest/src/main/java/org/pitest/classinfo/AddlerHash.java

This file was deleted.

14 changes: 0 additions & 14 deletions pitest/src/main/java/org/pitest/classinfo/ClassPointer.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,4 @@ public Optional<ClassInfo> fetch() {

}

class DeferredClassPointer implements ClassPointer {
private final Repository repository;
private final ClassName name;

DeferredClassPointer(final Repository repository, final ClassName name) {
this.repository = repository;
this.name = name;
}

@Override
public Optional<ClassInfo> fetch() {
return this.repository.fetchClass(this.name);
}

}
49 changes: 0 additions & 49 deletions pitest/src/main/java/org/pitest/classinfo/TestToClassMapper.java

This file was deleted.

57 changes: 0 additions & 57 deletions pitest/src/main/java/org/pitest/junit/TestInfo.java

This file was deleted.

43 changes: 0 additions & 43 deletions pitest/src/test/java/org/pitest/classinfo/AddlerHashTest.java

This file was deleted.

18 changes: 0 additions & 18 deletions pitest/src/test/java/org/pitest/classinfo/NameToClassInfoTest.java

This file was deleted.

Loading

0 comments on commit ee18353

Please sign in to comment.