Skip to content

Commit

Permalink
remove some debugging code.
Browse files Browse the repository at this point in the history
  • Loading branch information
husttroy committed Jul 26, 2017
1 parent a8f93e8 commit 1a89f30
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions bibmerge/src/edu/ucla/cs/bib/merge/BibMerge.java
Expand Up @@ -41,9 +41,6 @@ public void merge(String output) {
String article = "";
String label = null;
for(String l : ls) {
if(l.equals("fowler:refactor99")) {
System.out.println("yeh");
}
String content = this.articles.get(l);
if(content.length() > article.length()) {
// we prefer longer bib for the same article
Expand All @@ -70,9 +67,6 @@ public void merge(String output) {
// duplicated
for(String l : ls) {
if(!l.equals(label)) {
if(l.equals("fowler:refactor99")) {
System.out.println("yeh");
}
// replace the references to duplicated bib records
// be careful when replacing them, because one ref can be a substring of another
// just enumerate all cases
Expand All @@ -92,9 +86,6 @@ public void merge(String output) {

private void load() {
for(String bib : bibs) {
if(bib.equals("/home/troy/research/software_evolution_chapter/refs-wong.bib")) {
System.out.println("yeh");
}
load(bib);
}
}
Expand Down

0 comments on commit 1a89f30

Please sign in to comment.