Example usage for org.apache.commons.lang3 SystemUtils IS_JAVA_1_4

List of usage examples for org.apache.commons.lang3 SystemUtils IS_JAVA_1_4

Introduction

In this page you can find the example usage for org.apache.commons.lang3 SystemUtils IS_JAVA_1_4.

Prototype

boolean IS_JAVA_1_4

To view the source code for org.apache.commons.lang3 SystemUtils IS_JAVA_1_4.

Click Source Link

Document

Is true if this is Java version 1.4 (also 1.4.x versions).

Usage

From source file:org.kie.workbench.common.stunner.bpmn.backend.forms.conditions.parser.ParsingUtilsTest.java

private boolean isJavaVersionOlderThan9() {
    return (SystemUtils.IS_JAVA_1_8 || SystemUtils.IS_JAVA_1_7 || SystemUtils.IS_JAVA_1_6
            || SystemUtils.IS_JAVA_1_5 || SystemUtils.IS_JAVA_1_4 || SystemUtils.IS_JAVA_1_3
            || SystemUtils.IS_JAVA_1_2 || SystemUtils.IS_JAVA_1_1);
}