From 60c882841fe489d863740dab98aa90448a8a5087 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Tue, 7 Aug 2018 23:32:18 +0200 Subject: [PATCH] fixcomment --- server/src/main/java/com/genymobile/scrcpy/Device.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server/src/main/java/com/genymobile/scrcpy/Device.java b/server/src/main/java/com/genymobile/scrcpy/Device.java index 855263f1..36b70b11 100644 --- a/server/src/main/java/com/genymobile/scrcpy/Device.java +++ b/server/src/main/java/com/genymobile/scrcpy/Device.java @@ -58,8 +58,9 @@ public final class Device { } public Point getPhysicalPoint(Position position) { - @SuppressWarnings("checkstyle:HiddenField") // it hides the field on purpose, to read it with a lock - ScreenInfo screenInfo = getScreenInfo(); // read with synchronization + // it hides the field on purpose, to read it with a lock + @SuppressWarnings("checkstyle:HiddenField") + ScreenInfo screenInfo = getScreenInfo(); // read with synchronization Size videoSize = screenInfo.getVideoSize(); Size clientVideoSize = position.getScreenSize(); if (!videoSize.equals(clientVideoSize)) {