hex optimized

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@480 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 4150e5c3aa
commit f2c7562eaf
  1. 7
      jode/jode/bytecode/AttributeInfo.java

@ -1,4 +1,4 @@
/* jode.bytecode.AttributeInfo Copyright (C) 1997-1998 Jochen Hoenicke.
/* AttributeInfo Copyright (C) 1998-1999 Jochen Hoenicke.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -16,6 +16,7 @@
*
* $Id$
*/
package jode.bytecode;
import jode.decompiler.TabbedPrintWriter;
import java.io.*;
@ -56,9 +57,7 @@ public class AttributeInfo {
return data;
}
static final char hex[] = { '0','1','2','3','4','5','6','7',
'8','9','a','b','c','d','e','f' };
static final char[] hex = "0123456789abcdef".toCharArray();
public void dumpSource(TabbedPrintWriter writer) throws IOException{
if (data != null) {
writer.println("/* Attribute "+name+" ["+data.length+"]");

Loading…
Cancel
Save