[sikuli] 90/385: minor
Gilles Filippini
pini at moszumanska.debian.org
Sun Jun 29 19:25:53 UTC 2014
This is an automated email from the git hooks/post-receive script.
pini pushed a commit to tag upstream/1.1.0_beta1
in repository sikuli.
commit d955c8ae0fffcc48c4257e4648f6361c930e5800
Author: Raimund Hocke <rmhdevelop at me.com>
Date: Tue Dec 31 16:10:27 2013 +0100
minor
---
Basics/src/main/java/org/sikuli/basics/FileManager.java | 1 -
Basics/src/main/java/org/sikuli/basics/Settings.java | 10 ----------
Basics/src/main/java/org/sikuli/basics/SikuliX.java | 11 ++++++-----
3 files changed, 6 insertions(+), 16 deletions(-)
diff --git a/Basics/src/main/java/org/sikuli/basics/FileManager.java b/Basics/src/main/java/org/sikuli/basics/FileManager.java
index 851238d..dcb9f21 100644
--- a/Basics/src/main/java/org/sikuli/basics/FileManager.java
+++ b/Basics/src/main/java/org/sikuli/basics/FileManager.java
@@ -42,7 +42,6 @@ import java.util.zip.ZipInputStream;
import java.util.zip.ZipOutputStream;
import javax.imageio.ImageIO;
import javax.swing.JFrame;
-import org.sikuli.natives.RunNatives;
public class FileManager {
diff --git a/Basics/src/main/java/org/sikuli/basics/Settings.java b/Basics/src/main/java/org/sikuli/basics/Settings.java
index 989a046..3b76819 100644
--- a/Basics/src/main/java/org/sikuli/basics/Settings.java
+++ b/Basics/src/main/java/org/sikuli/basics/Settings.java
@@ -12,7 +12,6 @@ import java.net.Proxy;
import java.util.Date;
import java.util.Properties;
import java.util.prefs.Preferences;
-import org.sikuli.natives.Vision;
public class Settings {
@@ -172,15 +171,6 @@ public class Settings {
public static float MoveMouseDelay = 0.5f; // in seconds
private static float MoveMouseDelaySaved = MoveMouseDelay;
- public static void setVisionParameter(String param, float val) {
- Vision.setParameter(param, val);
- log(3, "Vision: %s set to %s", param, val);
- }
-
- public static float getVisionParameter(String param) {
- return Vision.getParameter(param);
- }
-
/**
* true = highlight every match (default: false) (show red rectangle around) for
* DefaultHighlightTime seconds (default: 2)
diff --git a/Basics/src/main/java/org/sikuli/basics/SikuliX.java b/Basics/src/main/java/org/sikuli/basics/SikuliX.java
index e36bedc..354c242 100644
--- a/Basics/src/main/java/org/sikuli/basics/SikuliX.java
+++ b/Basics/src/main/java/org/sikuli/basics/SikuliX.java
@@ -38,7 +38,7 @@ public class SikuliX {
//<editor-fold defaultstate="collapsed" desc="new logging concept">
private static String me = "SikuliX";
private static String mem = "...";
- private static int lvl = 2;
+ private static int lvl = 3;
private static String msg;
private static void log(int level, String message, Object... args) {
@@ -51,6 +51,7 @@ public class SikuliX {
me + ": " + message, args);
}
//</editor-fold>
+
private static IScriptRunner runner;
private static final String ScriptSikuliXCL = "org.sikuli.script.SikuliX";
private static final String ScriptKeyCL = "org.sikuli.script.Key";
@@ -252,9 +253,9 @@ public class SikuliX {
Method method;
URLClassLoader sysLoader = (URLClassLoader) ClassLoader.getSystemClassLoader();
URL[] urls = sysLoader.getURLs();
- log0(lvl, "before adding to classpath: " + jar);
+ log0(lvl, "adding to classpath: " + jar);
for (int i = 0; i < urls.length; i++) {
- log0(lvl, "%d: %s", i, urls[i]);
+ log0(lvl + 1, "%d: %s", i, urls[i]);
}
Class sysclass = URLClassLoader.class;
try {
@@ -271,9 +272,9 @@ public class SikuliX {
return false;
}
urls = sysLoader.getURLs();
- log0(lvl, "after adding to classpath");
+ log0(lvl + 1, "after adding to classpath");
for (int i = 0; i < urls.length; i++) {
- log0(lvl, "%d: %s", i, urls[i]);
+ log0(lvl + 1, "%d: %s", i, urls[i]);
}
return true;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sikuli.git
More information about the pkg-java-commits
mailing list