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 'develop' into features/JAL-1793VCF
[jalview.git]
/
src
/
jalview
/
ws
/
rest
/
params
/
JobConstant.java
diff --git
a/src/jalview/ws/rest/params/JobConstant.java
b/src/jalview/ws/rest/params/JobConstant.java
index
9a7e610
..
1c2cb42
100644
(file)
--- a/
src/jalview/ws/rest/params/JobConstant.java
+++ b/
src/jalview/ws/rest/params/JobConstant.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b1)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
*
* This file is part of Jalview.
*
*
* This file is part of Jalview.
*
@@
-80,8
+80,9
@@
public class JobConstant extends InputType
prm.add(URLEncoder.encode(value, "UTF-8"));
} catch (UnsupportedEncodingException ex)
{
prm.add(URLEncoder.encode(value, "UTF-8"));
} catch (UnsupportedEncodingException ex)
{
- throw new Error(MessageManager.formatMessage(
- "error.couldnt_encode_as_utf8", new String[] { value }), ex);
+ throw new Error(MessageManager
+ .formatMessage("error.couldnt_encode_as_utf8", new String[]
+ { value }), ex);
}
}
}
}
@@
-100,7
+101,8
@@
public class JobConstant extends InputType
{
if (tokenstring.size() > 1)
{
{
if (tokenstring.size() > 1)
{
- warnings.append("IMPLEMENTATION ERROR: Constant POST parameters cannot have more than one value.");
+ warnings.append(
+ "IMPLEMENTATION ERROR: Constant POST parameters cannot have more than one value.");
return false;
}
if (tokenstring.size() == 1)
return false;
}
if (tokenstring.size() == 1)
@@
-114,7
+116,8
@@
public class JobConstant extends InputType
public boolean configureProperty(String tok, String val,
StringBuffer warnings)
{
public boolean configureProperty(String tok, String val,
StringBuffer warnings)
{
- warnings.append("IMPLEMENTATION ERROR: No Properties to configure for a Constant parameter.");
+ warnings.append(
+ "IMPLEMENTATION ERROR: No Properties to configure for a Constant parameter.");
return false;
}
return false;
}