Java tutorial
//package com.java2s; //License from project: Open Source License public class Main { private static String logicalOpXSLTRepresentation(String logicalop) { if (logicalop != null) { if (logicalop.equalsIgnoreCase("AND")) { return "and"; } else if (logicalop.equalsIgnoreCase("OR")) { return "or"; } } return "and"; } }