Skip to content

Instantly share code, notes, and snippets.

@gissuebot
gissuebot / hide-jarjar-and-internal.util-once-and-for-all.txt
Created July 7, 2014 17:51
Migrated attachment for Guice issue 16, comment 6
### Eclipse Workspace Patch 1.0
#P guice
Index: extensions/assistedinject/build.xml
===================================================================
--- extensions/assistedinject/build.xml (revision 1321)
+++ extensions/assistedinject/build.xml (working copy)
@@ -7,7 +7,7 @@
<path id="compile.classpath">
<fileset dir="${lib.dir}" includes="*.jar"/>
<fileset dir="${lib.dir}/build" includes="*.jar"/>
@gissuebot
gissuebot / guice-converter.patch
Created July 7, 2014 17:52
Migrated attachment for Guice issue 22, comment 1
Index: C:/Documents and Settings/Michael.Barker/src/guice/test/com/google/inject/CustomConverterTest.java
===================================================================
--- C:/Documents and Settings/Michael.Barker/src/guice/test/com/google/inject/CustomConverterTest.java (revision 0)
+++ C:/Documents and Settings/Michael.Barker/src/guice/test/com/google/inject/CustomConverterTest.java (revision 0)
@@ -0,0 +1,111 @@
+package com.google.inject;
+
+import java.lang.reflect.Member;
+import java.net.MalformedURLException;
+import java.net.URL;
@gissuebot
gissuebot / EagerSingleton.java
Created July 7, 2014 17:53
Migrated attachment for Guice issue 38, comment 16
package org.limewire.inject;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.ElementType.TYPE;
import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Target;
import com.google.inject.Injector;
import com.google.inject.ScopeAnnotation;
@gissuebot
gissuebot / EagerAbstractModule.java
Created July 7, 2014 17:53
Migrated attachment for Guice issue 38, comment 19
import com.google.inject.*;
import com.google.inject.internal.Sets;
import com.google.inject.internal.Preconditions;
import com.google.inject.matcher.Matchers;
import com.google.inject.spi.TypeListener;
import com.google.inject.spi.TypeEncounter;
import com.google.inject.spi.InjectionListener;
import java.util.HashSet;
import java.lang.annotation.Retention;
@gissuebot
gissuebot / exposedJitBindings.txt
Created July 7, 2014 17:53
Migrated attachment for Guice issue 38, comment 21
### Eclipse Workspace Patch 1.0
#P guice2
Index: src/com/google/inject/InjectorImpl.java
===================================================================
--- src/com/google/inject/InjectorImpl.java (revision 1001)
+++ src/com/google/inject/InjectorImpl.java (working copy)
@@ -23,6 +23,7 @@
import com.google.inject.internal.Errors;
import com.google.inject.internal.ErrorsException;
import com.google.inject.internal.ImmutableList;
@gissuebot
gissuebot / bindingListeners.txt
Created July 7, 2014 17:53
Migrated attachment for Guice issue 38, comment 22
### Eclipse Workspace Patch 1.0
#P guice2
Index: src/com/google/inject/InheritingState.java
===================================================================
--- src/com/google/inject/InheritingState.java (revision 1001)
+++ src/com/google/inject/InheritingState.java (working copy)
@@ -23,6 +23,8 @@
import com.google.inject.internal.Maps;
import com.google.inject.internal.MatcherAndConverter;
import static com.google.inject.internal.Preconditions.checkNotNull;
@gissuebot
gissuebot / listeners-after-refactor.txt
Created July 7, 2014 17:53
Migrated attachment for Guice issue 38, comment 23
### Eclipse Workspace Patch 1.0
#P guice2
Index: src/com/google/inject/internal/InjectorShell.java
===================================================================
--- src/com/google/inject/internal/InjectorShell.java (revision 1004)
+++ src/com/google/inject/internal/InjectorShell.java (working copy)
@@ -139,6 +139,9 @@
List<TypeListenerBinding> listenerBindings = injector.state.getTypeListenerBindings();
injector.membersInjectorStore = new MembersInjectorStore(injector, listenerBindings);
stopwatch.resetAndLog("TypeListeners creation");
@gissuebot
gissuebot / guice-warning-cleanup-335.diff
Created July 7, 2014 17:54
Migrated attachment for Guice issue 40, comment 1
# HG changeset patch
# User Dustin Sallings <dustin@spy.net>
# Date 1181117195 25200
# Node ID a9488d5fcccb4f7404c101a11a35526d5de547b0
# Parent f20f9e975f65a5ec0ae03510601844d06da1eac7
patch queue: cleanup-warnings
diff -r f20f9e975f65 -r a9488d5fcccb src/com/google/inject/Binder.java
--- a/src/com/google/inject/Binder.java Tue Jun 05 21:24:04 2007 -0700
+++ b/src/com/google/inject/Binder.java Wed Jun 06 01:06:35 2007 -0700
@gissuebot
gissuebot / guice-warning-cleanup-345.diff
Created July 7, 2014 17:54
Migrated attachment for Guice issue 40, comment 3
# HG changeset patch
# User Dustin Sallings <dustin@spy.net>
# Date 1186625420 25200
# Node ID ceba171c2ae135b92ca9fa0c57efb130fbbb23a7
# Parent b1d246c11d0719217acc94f9b27fda3d7ab038ce
Cleaning up compiler warnings
diff -r b1d246c11d07 -r ceba171c2ae1 src/com/google/inject/Binder.java
--- a/src/com/google/inject/Binder.java Wed Aug 08 19:07:56 2007 -0700
+++ b/src/com/google/inject/Binder.java Wed Aug 08 19:10:20 2007 -0700
@gissuebot
gissuebot / autobinder.patch
Created July 7, 2014 17:54
Migrated attachment for Guice issue 49, comment 15
Index: test/com/google/inject/AutobinderTest.java
===================================================================
--- test/com/google/inject/AutobinderTest.java (revision 0)
+++ test/com/google/inject/AutobinderTest.java (revision 0)
@@ -0,0 +1,282 @@
+package com.google.inject;
+
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Annotation;