Commits

David Lin committed c4df655

Remove Debug Msg in ShortestPath

  • Participants
  • Parent commits 99b5998

Comments (0)

Files changed (2)

File src/Main.java

     e.setTime(2);
     sp.addEdge(e);
     
-    Package pak = new NormalPackage(10);
+    Package pak = new Meat(10);
     Location from = locations.get("A"), to = locations.get("F");
     List<Edge> result = sp.compute(from, to, pak);
     

File src/ShortestPath.java

         v = e.getFrom();
       }
     }catch(NullPointerException e){
-      e.printStackTrace();
+      //e.printStackTrace();
       return new LinkedList<Edge>();
     }