JAL-3423 TestNG test bugs
[jalview.git] / src / jalview / datamodel / PDBEntry.java
index c1dc77c..2d3690c 100755 (executable)
@@ -220,7 +220,7 @@ public class PDBEntry
 
   public void setFile(String f)
   {
-    this.file = f;
+    this.file = f.replace('\\', '/');
   }
 
   public String getFile()
@@ -257,7 +257,7 @@ public class PDBEntry
   {
     if (this.properties == null)
     {
-      this.properties = new Hashtable<String, Object>();
+      this.properties = new Hashtable<>();
     }
     properties.put(key, value);
   }