git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-2309 Made test timeout slightly longer
[jalview.git]
/
src
/
com
/
stevesoft
/
pat
/
Pattern.java
diff --git
a/src/com/stevesoft/pat/Pattern.java
b/src/com/stevesoft/pat/Pattern.java
index
543391e
..
1bc74f8
100755
(executable)
--- a/
src/com/stevesoft/pat/Pattern.java
+++ b/
src/com/stevesoft/pat/Pattern.java
@@
-7,7
+7,9
@@
//
package com.stevesoft.pat;
//
package com.stevesoft.pat;
-import java.util.*;
+import jalview.util.MessageManager;
+
+import java.util.Hashtable;
/**
Shareware: package pat
/**
Shareware: package pat
@@
-259,7
+261,9
@@
public abstract class Pattern
*/
Pattern clone1(Hashtable h)
{
*/
Pattern clone1(Hashtable h)
{
- throw new Error("No such method as clone1 for " + getClass().getName());
+ throw new Error(MessageManager.formatMessage(
+ "error.no_such_method_as_clone1_for", new String[] { getClass()
+ .getName() }));
}
Pattern clone(Hashtable h)
}
Pattern clone(Hashtable h)
@@
-272,7
+276,7
@@
public abstract class Pattern
p = clone1(h);
if (p == null)
{
p = clone1(h);
if (p == null)
{
- throw new Error("Null from clone1!");
+ throw new Error(MessageManager.getString("error.null_from_clone1"));
}
h.put(this, p);
h.put(p, p);
}
h.put(this, p);
h.put(p, p);