OfficeDev / Office-365-SDK-for-Android

Microsoft Services SDKs for Android produced by MS Open Tech.
https://dev.office.com/android
Other
224 stars 74 forks source link

Review generated code for useless new lines or spaces #15

Closed lt72 closed 10 years ago

lt72 commented 10 years ago

example: FolderOperations.java

public ListenableFuture<Folder> copy(String destinationId) {
    final SettableFuture<Folder> result = SettableFuture.create();

    java.util.Map<String, Object> map = new java.util.HashMap<String, Object>();
    map.put("DestinationId", destinationId);

<<<<<<<<<<<<<<<<<< eliminate this ListenableFuture<byte[]> future = oDataExecute("Copy", serializeToJsonByteArray(map, getResolver()), HttpVerb.POST); addEntityResultCallback(result,future,getResolver(),Folder.class);

    return result;
}

public ListenableFuture<Folder> move(String destinationId) {
    final SettableFuture<Folder> result = SettableFuture.create();

    java.util.Map<String, Object> map = new java.util.HashMap<String, Object>();
    map.put("DestinationId", destinationId);

<<<<<<<<<<<<<<<<<<<<<< eliminate this ListenableFuture<byte[]> future = oDataExecute("Move", serializeToJsonByteArray(map, getResolver()), HttpVerb.POST); addEntityResultCallback(result,future,getResolver(),Folder.class);

    return result;
}
marcote commented 10 years ago

I converted in many places tabs to spaces to preserve spaces, removed unnecessary spaces in some classes. If I messed anything, we can reopen this.