Skip to content

Commit

Permalink
Remove ObjectParameterInvoker, as it is no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
vp-of-awesome committed Oct 13, 2012
1 parent b20d6e1 commit c9f3a82
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 735 deletions.
267 changes: 0 additions & 267 deletions src/main/java/com/kenai/jffi/HeapObjectParameterInvoker.java

This file was deleted.

15 changes: 2 additions & 13 deletions src/main/java/com/kenai/jffi/Invoker.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
*/
public abstract class Invoker {
private final Foreign foreign;
private final ObjectParameterInvoker objectParameterInvoker;

/** Lazy initialization singleton holder */
private static final class SingletonHolder {
Expand All @@ -58,21 +57,11 @@ public static Invoker getInstance() {

/** Creates a new <tt>Invoker</tt> */
private Invoker() {
this(Foreign.getInstance(), ObjectParameterInvoker.getInstance());
this(Foreign.getInstance());
}

Invoker(Foreign foreign, ObjectParameterInvoker objectParameterInvoker) {
Invoker(Foreign foreign) {
this.foreign = foreign;
this.objectParameterInvoker = objectParameterInvoker;
}

/**
* Gets the fast-path object parameter invoker.
*
* @return An instance of {@link ObjectParameterInvoker}
*/
public final ObjectParameterInvoker getObjectParameterInvoker() {
return objectParameterInvoker;
}

/**
Expand Down
Loading

0 comments on commit c9f3a82

Please sign in to comment.