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
568df7c
..
1c2cb42
100644
(file)
--- a/
src/jalview/ws/rest/params/JobConstant.java
+++ b/
src/jalview/ws/rest/params/JobConstant.java
@@
-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;
}