From f2c7562eaf8843f38a8f086e97fa338b3900c6a2 Mon Sep 17 00:00:00 2001 From: jochen Date: Thu, 1 Apr 1999 10:22:26 +0000 Subject: [PATCH] hex optimized git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@480 379699f6-c40d-0410-875b-85095c16579e --- jode/jode/bytecode/AttributeInfo.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/jode/jode/bytecode/AttributeInfo.java b/jode/jode/bytecode/AttributeInfo.java index d8352f7..d80a9c4 100644 --- a/jode/jode/bytecode/AttributeInfo.java +++ b/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+"]");