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-3210 Barebones gradle/buildship/eclipse. See README
[jalview.git]
/
src
/
jalview
/
ws
/
dbsources
/
EmblCdsSource.java
diff --git
a/src/jalview/ws/dbsources/EmblCdsSource.java
b/src/jalview/ws/dbsources/EmblCdsSource.java
index
c5159f2
..
a73af61
100644
(file)
--- a/
src/jalview/ws/dbsources/EmblCdsSource.java
+++ b/
src/jalview/ws/dbsources/EmblCdsSource.java
@@
-22,15
+22,12
@@
package jalview.ws.dbsources;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.DBRefSource;
import jalview.datamodel.AlignmentI;
import jalview.datamodel.DBRefSource;
-import jalview.util.Platform;
import com.stevesoft.pat.Regex;
public class EmblCdsSource extends EmblXmlSource
{
import com.stevesoft.pat.Regex;
public class EmblCdsSource extends EmblXmlSource
{
- private Regex ACCESSION_REGEX = null;
-
public EmblCdsSource()
{
super();
public EmblCdsSource()
{
super();
@@
-45,11
+42,7
@@
public class EmblCdsSource extends EmblXmlSource
@Override
public Regex getAccessionValidator()
{
@Override
public Regex getAccessionValidator()
{
- if (ACCESSION_REGEX == null)
- {
- ACCESSION_REGEX = Platform.newRegex("^[A-Z]+[0-9]+", null);
- }
- return ACCESSION_REGEX;
+ return new Regex("^[A-Z]+[0-9]+");
}
@Override
}
@Override