You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2018/07/01 22:14:10 UTC
[jspwiki] 02/03: fix a couple of warnings on CommentedProperties
This is an automated email from the ASF dual-hosted git repository.
juanpablo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jspwiki.git
commit 5ef87a3508fb026291f901b7b3edaf3fc466f60e
Author: juanpablo <ju...@apache.org>
AuthorDate: Mon Jul 2 00:12:40 2018 +0200
fix a couple of warnings on CommentedProperties
---
.../src/main/java/org/apache/wiki/util/CommentedProperties.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/jspwiki-war/src/main/java/org/apache/wiki/util/CommentedProperties.java b/jspwiki-war/src/main/java/org/apache/wiki/util/CommentedProperties.java
index 5b312c9..d23a7e7 100644
--- a/jspwiki-war/src/main/java/org/apache/wiki/util/CommentedProperties.java
+++ b/jspwiki-war/src/main/java/org/apache/wiki/util/CommentedProperties.java
@@ -127,9 +127,9 @@ public class CommentedProperties extends Properties
public synchronized void putAll( Map arg0 )
{
// Shove all of the entries into the property string
- for( Iterator it = arg0.entrySet().iterator(); it.hasNext(); )
+ for( Iterator< Entry< ?, ? > > it = arg0.entrySet().iterator(); it.hasNext(); )
{
- Entry entry = (Entry)it.next();
+ Entry< ?, ? > entry = it.next();
writeProperty( entry.getKey(), entry.getValue() );
}