Skip to content

Commit

Permalink
ORA-643 isOk() in AbstractProcessor.java corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
cvejoski authored and bjost2s committed Sep 23, 2015
1 parent 98ad395 commit e020151
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ protected AbstractProcessor(DbSession dbSession, HttpSessionState httpSessionSta
* the command succeeded. Remember that.
*/
public final void setSuccess(Key message, String... parameter) {
//Assert.isTrue(this.success == null);
this.success = true;
this.message = message;
this.parameter = parameter;
Expand All @@ -43,6 +44,7 @@ public final void setSuccess(Key message, String... parameter) {
* the command failed. Remember that.
*/
public final void setError(Key message, String... parameters) {
//Assert.isTrue(this.success == null);
this.success = false;
this.message = message;
this.parameter = parameters;
Expand All @@ -52,7 +54,7 @@ public final void setError(Key message, String... parameters) {
/**
* check the actual state of a processor. Note, that id neither setSuccess nor setError have been called, the method will return <b>false</b>.
*
* @return true, if <b>until now</b> the processor was always successful
* @return true, if the processor is successful
*/
public final boolean isOk() {
return this.success;
Expand Down

0 comments on commit e020151

Please sign in to comment.