core/src/main/java/org/jruby/java/proxies/ArrayJavaProxy.java
private static RubyString inspectCharArrayPart(final Ruby runtime, final StringBuilder buffer, final char[] ary, final int len) {
        buffer.append('[');
        for (int i = 0; ; i++) {
            inspectCharValue(buffer, ary[i]);
            if (i == len - 1) break;
            buffer.append(", ");
        }
        buffer.append(']');
        return RubyString.newString(runtime, buffer.append('>'));
    }
// NOTE: special case as we want to inspect like a Character wrapper e.g. ['', 'a']
special case as we want to inspect like a Character wrapper e.g.
special case as we want to inspect like a Character wrapper e . g .
private static RubyString inspectCharArrayPart(final Ruby runtime, final StringBuilder buffer, final char[] ary, final int len) {
        buffer.append('[');
        for (int i = 0; ; i++) {
            inspectCharValue(buffer, ary[i]);
            if (i == len - 1) break;
            buffer.append(", ");
        }
        buffer.append(']');
        return RubyString.newString(runtime, buffer.append('>'));
    }
private static RubyString inspectCharArrayPart ( final Ruby runtime , final StringBuilder buffer , final char [ ] ary , final int len ) { buffer . append ( '[' ) ; for ( int i = 0 ; ; i ++ ) { inspectCharValue ( buffer , ary [ i ] ) ; if ( i == len - 1 ) break ; buffer . append ( ", " ) ; } buffer . append ( ']' ) ; return RubyString . newString ( runtime , buffer . append ( '>' ) ) ; }
NOTE: special case as we want to inspect like a Character wrapper e.g.
NOTE : special case as we want to inspect like a Character wrapper e . g .