Skip to content

Commit

Permalink
#1122, #1135 clean up
Browse files Browse the repository at this point in the history
Remove unused functions and classes
  • Loading branch information
MPDLTam committed Dec 23, 2019
1 parent be69773 commit 81e570c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 81 deletions.
52 changes: 0 additions & 52 deletions src/main/java/de/mpg/imeji/j2j/transaction/ElementTransaction.java

This file was deleted.

1 change: 0 additions & 1 deletion src/main/java/de/mpg/imeji/logic/db/writer/JenaWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import de.mpg.imeji.exceptions.ImejiException;
import de.mpg.imeji.j2j.transaction.CRUDTransaction;
import de.mpg.imeji.j2j.transaction.CRUDTransaction.CRUDTransactionType;
import de.mpg.imeji.j2j.transaction.ElementTransaction;
import de.mpg.imeji.j2j.transaction.ElementsTransaction;
import de.mpg.imeji.j2j.transaction.ThreadedTransaction;
import de.mpg.imeji.j2j.transaction.Transaction;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,34 +168,6 @@ protected void prepareUpdate(Properties properties, User user) {
WORKFLOW_MANAGER.prepareUpdate(properties, user);
}

/**
* Add the {@link Properties} to an imeji object when it is released
*
* @param properties
* @param user
* @throws WorkflowException
* @throws NotSupportedMethodException
*/
protected void prepareRelease(Properties properties, User user) throws WorkflowException, NotSupportedMethodException {
WORKFLOW_MANAGER.prepareRelease(properties);
}

/**
* Add the {@link Properties} to an imeji object when it is withdrawn
*
* @param properties
* @param comment
* @throws WorkflowException
* @throws NotSupportedMethodException
* @throws UnprocessableError
*/
protected void prepareWithdraw(Properties properties, String comment) throws WorkflowException, NotSupportedMethodException {
if (comment != null && !"".equals(comment)) {
properties.setDiscardComment(comment);
}
WORKFLOW_MANAGER.prepareWithdraw(properties);
}

/**
* True if at least one {@link Item} is locked by another {@link User}
*
Expand Down

0 comments on commit 81e570c

Please sign in to comment.