Skip to content
Snippets Groups Projects
Commit ddf1b74b authored by buczekp's avatar buczekp
Browse files

[LMS-1876] fixed validation of multiline scripts

SVN: 18612
parent 5b707e65
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ import ch.systemsx.cisd.openbis.plugin.query.client.web.client.application.Dict; ...@@ -32,7 +32,7 @@ import ch.systemsx.cisd.openbis.plugin.query.client.web.client.application.Dict;
public class ScriptField extends MultilineVarcharField public class ScriptField extends MultilineVarcharField
{ {
private final static String CALCULATE_DEFINITION = "def calculate()"; private final static String CALCULATE_DEFINITION = "def calculate():";
private final static String CALCULATE_DEFINITION_NOT_FOUND_MSG = private final static String CALCULATE_DEFINITION_NOT_FOUND_MSG =
"Multiline script should contain definition of 'calculate()' function."; "Multiline script should contain definition of 'calculate()' function.";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment