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
Merge branch 'Release_2_8_2_Branch' into
[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
..
3a3462c
100755
(executable)
--- a/
src/com/stevesoft/pat/Pattern.java
+++ b/
src/com/stevesoft/pat/Pattern.java
@@
-7,6
+7,8
@@
//
package com.stevesoft.pat;
//
package com.stevesoft.pat;
+import jalview.util.MessageManager;
+
import java.util.*;
/**
import java.util.*;
/**
@@
-259,7
+261,7
@@
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
+274,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);