From 7cc445f761eae9a881172095b3aa85709f0f1f3a Mon Sep 17 00:00:00 2001
From: Michael Bien <mbien@fh-landshut.de>
Date: Sat, 24 Apr 2010 20:10:10 +0200
Subject: renamed method.

---
 src/java/com/jogamp/common/os/DynamicLookupHelper.java    | 3 +--
 src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java | 6 +++---
 2 files changed, 4 insertions(+), 5 deletions(-)

(limited to 'src/java/com/jogamp')

diff --git a/src/java/com/jogamp/common/os/DynamicLookupHelper.java b/src/java/com/jogamp/common/os/DynamicLookupHelper.java
index a4f74a4..5da2b67 100755
--- a/src/java/com/jogamp/common/os/DynamicLookupHelper.java
+++ b/src/java/com/jogamp/common/os/DynamicLookupHelper.java
@@ -39,8 +39,7 @@
 
 package com.jogamp.common.os;
 
-/** Interface callers may use to use the ProcAddressHelper's {@link
-    ProcAddressHelper#resetProcAddressTable resetProcAddressTable}
+/** Interface callers may use to use the ProcAddressHelper's {@link ProcAddressTable#reset reset}
     helper method to install function pointers into a
     ProcAddressTable. This must typically be written with native
     code. */
diff --git a/src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java b/src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java
index 448c945..9a05fce 100644
--- a/src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java
+++ b/src/java/com/jogamp/gluegen/runtime/ProcAddressTable.java
@@ -89,14 +89,14 @@ public abstract class ProcAddressTable {
     public abstract long getAddressFor(String functionName);
 
 
-    public void resetProcAddressTable(DynamicLookupHelper lookup) throws RuntimeException {
+    public void reset(DynamicLookupHelper lookup) throws RuntimeException {
 
         Class tableClass = getClass();
         Field[] fields = tableClass.getFields();
         PrintStream dout = getDebugOutStream();
 
         if (DEBUG) {
-            dout.println("ProcAddressHelper.resetProcAddressTable(" + getClass().getName() + ")");
+            dout.println("ProcAddressTable.reset(" + getClass().getName() + ")");
         }
         for (int i = 0; i < fields.length; ++i) {
             String addressFieldName = fields[i].getName();
@@ -137,7 +137,7 @@ public abstract class ProcAddressTable {
             if (DEBUG_PREFIX != null) {
                 try {
                     out = new PrintStream(new BufferedOutputStream(new FileOutputStream(DEBUG_PREFIX + File.separatorChar
-                            + "procaddresshelper-" + (++debugNum) + ".txt")));
+                            + "procaddresstable-" + (++debugNum) + ".txt")));
                 } catch (IOException e) {
                     e.printStackTrace();
                     out = System.err;
-- 
cgit v1.2.3