diff options
Diffstat (limited to 'java/com/tigervnc/rfb/CMsgWriterV3.java')
-rw-r--r-- | java/com/tigervnc/rfb/CMsgWriterV3.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/tigervnc/rfb/CMsgWriterV3.java b/java/com/tigervnc/rfb/CMsgWriterV3.java index 1ac583b3..a730698d 100644 --- a/java/com/tigervnc/rfb/CMsgWriterV3.java +++ b/java/com/tigervnc/rfb/CMsgWriterV3.java @@ -55,7 +55,7 @@ public class CMsgWriterV3 extends CMsgWriter { os.writeU8(layout.num_screens()); os.pad(1); - for (Iterator iter = layout.screens.iterator(); iter.hasNext(); ) { + for (Iterator<Screen> iter = layout.screens.iterator(); iter.hasNext(); ) { Screen refScreen = (Screen)iter.next(); os.writeU32(refScreen.id); os.writeU16(refScreen.dimensions.tl.x); |