Skip to content

Commit

Permalink
remove warnings!
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Cheng committed Jul 15, 2013
1 parent 1869bf8 commit 02c8337
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.microsoft.windowsazure.services.serviceBus;

Expand All @@ -20,12 +20,10 @@

public class Util {
public static Iterable<QueueInfo> iterateQueues(ServiceBusContract service) throws ServiceException {
// TODO: iterate over link rel=next pagination
return service.listQueues().getItems();
}

public static Iterable<TopicInfo> iterateTopics(ServiceBusContract service) throws ServiceException {
// TODO: iterate over link rel=next pagination
return service.listTopics().getItems();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ private void ThrowIfError(ClientResponse r) {
}

private String encodeODataURIValue(String value) {
//TODO: Unclear if OData value in URI's need to be encoded or not
return value;
}

Expand Down Expand Up @@ -757,7 +756,6 @@ private DataSource createBatchInsertOrUpdateEntityPart(String table, Entity enti
headers.addHeader("If-Match", entity.getEtag());
}

//TODO: Review code to make sure encoding is correct
ByteArrayOutputStream httpRequest = new ByteArrayOutputStream();
httpReaderWriter.appendMethod(httpRequest, verb, path);
httpReaderWriter.appendHeaders(httpRequest, headers);
Expand All @@ -780,7 +778,6 @@ private DataSource createBatchDeleteEntityPart(String table, String partitionKey
headers.addHeader("Content-ID", Integer.toString(contentId));
headers.addHeader("If-Match", etag == null ? "*" : etag);

//TODO: Review code to make sure encoding is correct
ByteArrayOutputStream httpRequest = new ByteArrayOutputStream();
httpReaderWriter.appendMethod(httpRequest, "DELETE", path);
httpReaderWriter.appendHeaders(httpRequest, headers);
Expand Down

0 comments on commit 02c8337

Please sign in to comment.