Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
refactor to remove remaining warnings from zanata-client-commands
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmason committed Aug 31, 2011
1 parent 8030400 commit 1ccc6b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -22,6 +22,7 @@
import org.zanata.client.commands.SystemExitStrategy;
import org.zanata.client.commands.ZanataCommand;

@SuppressWarnings("deprecation")
public class ZanataClient extends BasicOptionsImpl
{
private String command;
Expand Down
Expand Up @@ -49,7 +49,8 @@ public static String findPrefix(SubnodeConfiguration config, URL url)
String suffix = ".url";
DataConfiguration dataConfig = new DataConfiguration(config);

for (Iterator<String> iterator = dataConfig.getKeys(); iterator.hasNext();)
for (@SuppressWarnings("unchecked")
Iterator<String> iterator = dataConfig.getKeys(); iterator.hasNext();)
{
String key = iterator.next();
if (key.endsWith(suffix))
Expand Down

0 comments on commit 1ccc6b7

Please sign in to comment.