Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Remove not related comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Eng committed Oct 28, 2015
1 parent 3388ca6 commit 3fb837f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
import java.util.Date;
import java.util.List;

import lombok.NoArgsConstructor;
import lombok.Setter;

/**
* @author Alex Eng <a href="aeng@redhat.com">aeng@redhat.com</a>
*/
Expand Down Expand Up @@ -117,7 +120,6 @@ public void updateLanguageRequest(Long requestId, HAccount actor,
Request newRequest = oldRequest.update(actor, state, comment, now);
requestDAO.makePersistent(oldRequest);

//Need to add 1 second to request validTo date to avoid unique index constraint
languageRequest.setRequest(newRequest);
requestDAO.makePersistent(oldRequest);
requestDAO.makePersistent(newRequest);
Expand Down Expand Up @@ -170,6 +172,7 @@ private boolean isRequestProcessed(Request request) {
/**
* Builder for languageRequest
*/
@NoArgsConstructor
public class LanguageRequestBuilder {

private Request request;
Expand All @@ -178,9 +181,6 @@ public class LanguageRequestBuilder {
private boolean reviewer;
private boolean translator;

public LanguageRequestBuilder(){
};

public LanguageRequestBuilder setRequest(Request request) {
this.request = request;
return this;
Expand Down

0 comments on commit 3fb837f

Please sign in to comment.