提交 c7a236ca 编写于 作者: J Jesse Glick

Simplified flag to use Boolean.getBoolean.

上级 90ff9f80
......@@ -80,7 +80,7 @@ import jenkins.model.RunAction2;
* @author Kohsuke Kawaguchi
*/
public class Fingerprinter extends Recorder implements Serializable, DependencyDeclarer {
public static boolean enableFingerprintsInDependencyGraph = Boolean.parseBoolean(System.getProperty(Fingerprinter.class.getName() + ".enableFingerprintsInDependencyGraph", "false"));
public static boolean enableFingerprintsInDependencyGraph = Boolean.getBoolean(Fingerprinter.class.getName() + ".enableFingerprintsInDependencyGraph");
/**
* Comma-separated list of files/directories to be fingerprinted.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册