Skip to content

Commit

Permalink
[Truffle] Fix warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Nov 29, 2016
1 parent 16a4d67 commit d7eb364
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -75,7 +75,7 @@ public class TranscodingManager {
final Transcoder transcoder = e.getTranscoder();

allTranscoders.putIfAbsent(sourceName, new HashMap<>());
final Map fromSource = allTranscoders.get(sourceName);
final Map<String, Transcoder> fromSource = allTranscoders.get(sourceName);
fromSource.put(destinationName, transcoder);
}
}
Expand Down Expand Up @@ -230,7 +230,7 @@ private static LinkedList<String> bfs(String sourceEncodingName, String destinat
continue;
}

final LinkedList newPath = (LinkedList) path.clone();
final LinkedList<String> newPath = (LinkedList<String>) path.clone();
newPath.add(destinationName);
queue.add(newPath);
alreadyVisited.add(destinationName);
Expand Down

0 comments on commit d7eb364

Please sign in to comment.