# HG changeset patch # User Carl Byington # Date 1418612568 28800 # Node ID b525a8141923fc7fd71748da5d624e2d8439871d # Parent f6d26c5f878e692566a9067ef92f8900104d89d5 strip some debug code diff -r f6d26c5f878e -r b525a8141923 src/org/tn5250j/framework/tn5250/Screen5250.java --- a/src/org/tn5250j/framework/tn5250/Screen5250.java Sun Dec 14 19:00:19 2014 -0800 +++ b/src/org/tn5250j/framework/tn5250/Screen5250.java Sun Dec 14 19:02:48 2014 -0800 @@ -3302,42 +3302,7 @@ fireScreenChanged(); } - private int xx_position = 0; - private int xx_length = 0; - private char[] xx_pending = new char[2048]; - - private void xx_flush() { - if (xx_length > 0) { - char[] p = new char[xx_length]; - System.arraycopy(xx_pending, 0, p, 0, xx_length); - Log.i(TAG, String.format("row %d col %d %s", getRow(xx_position), getCol(xx_position), new String(p))); - } - xx_length = 0; - } - - private void xx_debug(int cByte) { - if (cByte == 0) { - xx_flush(); - } - else { - if (xx_length == 0) { - xx_position = lastPos; - xx_pending[xx_length++] = (char)cByte; - } - else if (lastPos == xx_position + xx_length) { - xx_pending[xx_length++] = (char)cByte; - } - else { - xx_flush(); - xx_position = lastPos; - xx_pending[xx_length++] = (char)cByte; - } - } - } - protected void setChar(int cByte) { - xx_debug(cByte); - if (lastPos > 0) { lastAttr = planes.getCharAttr(lastPos - 1); }