From: <ha...@us...> - 2013-06-19 12:47:18
|
Revision: 18349 http://sourceforge.net/p/jmol/code/18349 Author: hansonr Date: 2013-06-19 12:47:14 +0000 (Wed, 19 Jun 2013) Log Message: ----------- Modified Paths: -------------- trunk/Jmol/src/com/sparshui/server/GestureServer.java Modified: trunk/Jmol/src/com/sparshui/server/GestureServer.java =================================================================== --- trunk/Jmol/src/com/sparshui/server/GestureServer.java 2013-06-18 13:32:43 UTC (rev 18348) +++ trunk/Jmol/src/com/sparshui/server/GestureServer.java 2013-06-19 12:47:14 UTC (rev 18349) @@ -45,7 +45,8 @@ @Override public void finalize() { - Logger.debug(this + " finalized"); + if (Logger.debugging) + Logger.debug(this + " finalized"); } public GestureServer(int port, GestureServer main) { @@ -224,7 +225,7 @@ boolean processTouchPoint(Map<Integer, TouchPoint> inputDeviceTouchPoints, int id, Location location, long time, int state) { if (Logger.debugging) { - Logger.info("[GestureServer] processTouchPoint id=" + id + " state=" + state + " " + location + Logger.debug("[GestureServer] processTouchPoint id=" + id + " state=" + state + " " + location + " " + time); } Integer iid = Integer.valueOf(id); @@ -232,7 +233,8 @@ TouchPoint touchPoint = inputDeviceTouchPoints.get(iid); if (!touchPoint.isClaimed()) return false; - Logger.debug("[GestureServer] OK"); + if (Logger.debugging) + Logger.debug("[GestureServer] OK"); synchronized (touchPoint) { touchPoint.update(location, time, state); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |