Closing scanners.

This commit is contained in:
Hassan
2020-01-28 18:34:52 +02:00
parent 4f45c5a479
commit a1f59c38b1
27 changed files with 29 additions and 4 deletions

View File

@ -100,6 +100,7 @@ start vertex, end vertes and weights. Vertices should be labelled with a number
System.out.println();
}
}
sc.close();
}
/**
* @param source Starting vertex

View File

@ -42,6 +42,7 @@ public class Main {
return;
}
}
In.close();
}
}
}

View File

@ -309,6 +309,7 @@ public class RedBlackBST {
printTreepre(root);
break;
}
scan.close();
}
public void deleteDemo() {