This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ jar -tvf ~/.m2/repository/org/antlr/antlr/3.4/antlr-3.4.jar | |
0 Tue Jul 19 09:36:30 CEST 2011 META-INF/ | |
125 Tue Jul 19 09:36:28 CEST 2011 META-INF/MANIFEST.MF | |
0 Tue Jul 19 09:36:24 CEST 2011 org/ | |
0 Tue Jul 19 09:36:26 CEST 2011 org/antlr/ | |
0 Tue Jul 19 09:36:28 CEST 2011 org/antlr/misc/ | |
0 Tue Jul 19 09:36:28 CEST 2011 org/antlr/codegen/ | |
0 Tue Jul 19 09:36:24 CEST 2011 org/antlr/codegen/templates/ | |
0 Tue Jul 19 09:36:24 CEST 2011 org/antlr/codegen/templates/Python/ | |
0 Tue Jul 19 09:36:24 CEST 2011 org/antlr/codegen/templates/CPP/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static class SynchronizedObjectPool<T> implements ObjectPool<T> { | |
/** Object whose monitor is used to synchronize methods on the wrapped pool. */ | |
private final ReentrantReadWriteLock readWriteLock = new ReentrantReadWriteLock(); | |
/** the underlying object pool */ | |
private final ObjectPool<T> pool; | |
/** | |
* Create a new SynchronizedObjectPool wrapping the given pool. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.xxx; | |
import java.util.HashSet; | |
import java.util.Set; | |
import lombok.Getter; | |
import lombok.Setter; | |
import lombok.ToString; | |
import org.apache.commons.digester3.annotations.rules.BeanPropertySetter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/test/java/org/apache/ibatis/type/TypeHandlerRegistryTest.java | |
=================================================================== | |
--- src/test/java/org/apache/ibatis/type/TypeHandlerRegistryTest.java (revision 4287) | |
+++ src/test/java/org/apache/ibatis/type/TypeHandlerRegistryTest.java (working copy) | |
@@ -15,6 +15,13 @@ | |
*/ | |
package org.apache.ibatis.type; | |
+import java.net.URI; | |
+import java.sql.CallableStatement; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: maven-classic-skin/pom.xml | |
=================================================================== | |
--- maven-classic-skin/pom.xml (revision 1227826) | |
+++ maven-classic-skin/pom.xml (working copy) | |
@@ -41,6 +41,16 @@ | |
<profiles> | |
<profile> | |
+ <id>rc</id> | |
+ <distributionManagement> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: maven-classic-skin/pom.xml | |
=================================================================== | |
--- maven-classic-skin/pom.xml (revision 1227886) | |
+++ maven-classic-skin/pom.xml (working copy) | |
@@ -33,7 +33,7 @@ | |
<name>Maven Classic Skin</name> | |
<description>Maven Classic Skin</description> | |
- <url>http://maven.apache.org/skins/${project.artifactId}</url> | |
+ <url>http://maven.apache.org/skins/${site.destination}</url> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UndirectedMutableWeightedGraph<BaseLabeledVertex, BaseLabeledWeightedEdge> graph = | |
newUndirectedMutableWeightedGraph( new AbstractGraphConnection<BaseLabeledVertex, BaseLabeledWeightedEdge>() | |
{ | |
public void connect() | |
{ | |
BaseLabeledVertex start = addVertex( new BaseLabeledVertex( "start" ) ); | |
BaseLabeledVertex a = addVertex( new BaseLabeledVertex( "a" ) ); | |
BaseLabeledVertex b = addVertex( new BaseLabeledVertex( "b" ) ); | |
BaseLabeledVertex c = addVertex( new BaseLabeledVertex( "c" ) ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.tomcat.maven</groupId> | |
<artifactId>tomcat7-maven-plugin</artifactId> | |
<version>2.0-beta-1</version> | |
<executions> | |
<execution> | |
<id>tomcat-run</id> | |
<goals> | |
<goal>exec-war-only</goal> | |
</goals> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final class MyResponseFilter | |
implements ResponseFilter | |
{ | |
@Override | |
public FilterContext filter( FilterContext ctx ) | |
throws FilterException | |
{ | |
if ( somethingMagicHappens ) | |
{ | |
RequestBuilder authRequestBuilder = new RequestBuilder( "POST" ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone https://github.com/yahoo/omid.git | |
Cloning into omid... | |
remote: Counting objects: 782, done. | |
remote: Compressing objects: 100% (481/481), done. | |
remote: Total 782 (delta 337), reused 588 (delta 143) | |
Receiving objects: 100% (782/782), 425.58 KiB | 274 KiB/s, done. | |
Resolving deltas: 100% (337/337), done. | |
Simones-MacBook-Pro:tmp simonetripodi$ cd omid/ | |
Simones-MacBook-Pro:omid simonetripodi$ mvn package | |
[INFO] Scanning for projects... |