This file contains hidden or 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
public class EncryptablePropertiesPropertySource extends MapPropertySource { | |
@SuppressWarnings({ "unchecked", "rawtypes" }) | |
public EncryptablePropertiesPropertySource(String name, Properties source) { | |
super(name, (Map) source); | |
} | |
protected EncryptablePropertiesPropertySource(String name, Map<String, Object> source) { | |
super(name, source); | |
} |
This file contains hidden or 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.segmint.jdbi; | |
import java.lang.reflect.Constructor; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.ParameterizedType; | |
import java.lang.reflect.Type; | |
import java.math.BigDecimal; | |
import java.sql.Array; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; |
This file contains hidden or 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
import java.sql.Connection; | |
import java.sql.DriverManager; | |
import java.sql.ResultSet; | |
import java.sql.SQLException; | |
import java.sql.Statement; | |
import java.sql.Timestamp; | |
public class Test { | |
public static void main(String[] args) throws Exception { |
This file contains hidden or 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
import org.apache.commons.lang.StringUtils; | |
public class Test { | |
public static void main(String[] args) throws Exception { | |
long time = Long.MAX_VALUE; | |
long shiftedTime = time << 23; | |
System.out.println("years " + Math.pow(2, 41) / 1000.0 / 60.0 / 60.0 / 24.0 / 365.0); | |
System.out.println("1234567890123456789012345678901234567890123456789012345678901234"); |
This file contains hidden or 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.segmint.postdelivery.spring; | |
import java.util.Map; | |
import javax.ws.rs.Path; | |
import javax.ws.rs.ext.Provider; | |
import org.springframework.web.context.ContextLoaderListener; | |
import org.springframework.web.context.support.AnnotationConfigWebApplicationContext; |
This file contains hidden or 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
mvn install:install-file -DgroupId=com.intuit -DartifactId=ipp-java-devkit -Dversion=2.0.11 -Dpackaging=jar -Dfile=ipp-java-devkit-2.0.11-jar-with-dependencies.jar | |
mvn install:install-file -DgroupId=oauth.signpost -DartifactId=oauth-signpost -Dversion=1.2.1.2 -Dpackaging=jar -Dfile=signpost-core-1.2.1.2.jar |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.yourcompany</groupId> | |
<artifactId>ProjectName</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<properties> | |
<scalaVersion>2.10.1</scalaVersion> | |
</properties> |
NewerOlder