CPD Results

The following document contains the results of PMD's CPD 4.2.5.

Duplications

FileLine
org\apache\commons\jexl2\JexlException.java157
org\apache\commons\jexl2\JexlException.java202
        private static DebugInfo merge(JexlInfo node, ParseException cause) {
            DebugInfo dbgn = node != null ? node.debugInfo() : null;
            if (cause == null) {
                return dbgn;
            } else if (dbgn == null) {
                return new DebugInfo("", cause.getLine(), cause.getColumn());
            } else {
                return new DebugInfo(dbgn.getName(), cause.getLine(), cause.getColumn());
            }
        }

        /**
         * @return the expression
         */
        public String getExpression() {
            return super.detailedMessage();
        }

        @Override
        protected String detailedMessage() {
            return parserError("parsing", getExpression());