Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

suppress warning after code merge.

  • Loading branch information...
commit 2e240007e77883ab6e8951f8c55d1a9bb52705f7 1 parent 22405d7
Albert Cheng authored
View
4 ...re-api/src/test/java/com/microsoft/windowsazure/services/media/models/TaskEntityTest.java
@@ -17,8 +17,6 @@
import static org.junit.Assert.*;
-import java.net.URLEncoder;
-
import javax.xml.bind.JAXBElement;
import org.junit.Test;
@@ -32,7 +30,6 @@
*/
public class TaskEntityTest {
static final String sampleTaskId = "nb:cid:UUID:1151b8bd-9ada-4e7f-9787-8dfa49968eab";
- private final String expectedUri = String.format("Tasks('%s')", URLEncoder.encode(sampleTaskId, "UTF-8"));
private TaskType getTaskType(EntryType entryType) {
for (Object child : entryType.getEntryChildren()) {
@@ -43,6 +40,7 @@ private TaskType getTaskType(EntryType entryType) {
ContentType contentType = (ContentType) element.getValue();
for (Object grandChild : contentType.getContent()) {
if (grandChild instanceof JAXBElement) {
+ @SuppressWarnings("rawtypes")
JAXBElement contentElement = (JAXBElement) grandChild;
TaskType taskType = (TaskType) contentElement.getValue();
return taskType;
Please sign in to comment.
Something went wrong with that request. Please try again.