Minor CheckStyle cleanups
- Remove redundant 'final' modifier on private native method - Fix line wrapping of opening brace Change-Id: I5efcc7f2bdd8b7786f14319c23cb5c3a2c221591
This commit is contained in:
@@ -460,7 +460,7 @@ public class ChangeInfo extends JavaScriptObject {
|
|||||||
public final native String message() /*-{ return this.message; }-*/;
|
public final native String message() /*-{ return this.message; }-*/;
|
||||||
public final native int _revisionNumber() /*-{ return this._revision_number || 0; }-*/;
|
public final native int _revisionNumber() /*-{ return this._revision_number || 0; }-*/;
|
||||||
public final native String tag() /*-{ return this.tag; }-*/;
|
public final native String tag() /*-{ return this.tag; }-*/;
|
||||||
private final native String dateRaw() /*-{ return this.date; }-*/;
|
private native String dateRaw() /*-{ return this.date; }-*/;
|
||||||
|
|
||||||
public final Timestamp date() {
|
public final Timestamp date() {
|
||||||
return JavaSqlTimestamp_JsonSerializer.parseTimestamp(dateRaw());
|
return JavaSqlTimestamp_JsonSerializer.parseTimestamp(dateRaw());
|
||||||
|
@@ -71,8 +71,7 @@ public class DeleteAssignee implements
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Response<AccountInfo> apply(ChangeResource rsrc, Input input)
|
public Response<AccountInfo> apply(ChangeResource rsrc, Input input)
|
||||||
throws RestApiException, UpdateException
|
throws RestApiException, UpdateException {
|
||||||
{
|
|
||||||
try (BatchUpdate bu = batchUpdateFactory.create(db.get(),
|
try (BatchUpdate bu = batchUpdateFactory.create(db.get(),
|
||||||
rsrc.getProject(),
|
rsrc.getProject(),
|
||||||
rsrc.getUser(), TimeUtil.nowTs())) {
|
rsrc.getUser(), TimeUtil.nowTs())) {
|
||||||
|
Reference in New Issue
Block a user