Skip to content

Commit

Permalink
minor refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
  • Loading branch information
tobiasKaminsky committed Jun 10, 2024
1 parent 66d11fe commit 805ce56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public DirectEditingObtainListOfTemplatesRemoteOperation(String editor, String t

public RemoteOperationResult<TemplateList> run(NextcloudClient client) {
RemoteOperationResult<TemplateList> result;
com.nextcloud.operations.GetMethod get = null;
GetMethod get = null;

try {
// get request
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class DirectEditingObtainRemoteOperation extends OCSRemoteOperation<Direc

public RemoteOperationResult<DirectEditing> run(NextcloudClient client) {
RemoteOperationResult<DirectEditing> result;
com.nextcloud.operations.GetMethod getMethod = null;
GetMethod getMethod = null;

try {
getMethod = new GetMethod(client.getBaseUri() + DIRECT_ENDPOINT + JSON_FORMAT, true);
Expand Down

0 comments on commit 805ce56

Please sign in to comment.