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
@RunWith(SpringJUnit4ClassRunner.class) | |
@WebAppConfiguration | |
@ContextConfiguration(locations = {"classpath:applicationContext.xml","classpath:springmvc.xml"}) | |
public class MVCTest { | |
@Autowired | |
WebApplicationContext context; | |
MockMvc mockMvc; |
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
[repositories] | |
local | |
aliyun-nexus: http://maven.aliyun.com/nexus/content/groups/public/ | |
ibiblio-maven: http://maven.ibiblio.org/maven2/ | |
typesafe-ivy: https://dl.bintray.com/typesafe/ivy-releases/, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext] | |
uk-repository: http://uk.maven.org/maven2/ | |
jboss-repository: http://repository.jboss.org/nexus/content/groups/public/ | |
sonatype-oss-releases | |
maven-central | |
sonatype-oss-snapshots |
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.jjl.features.lock; | |
import com.jjl.features.exception.ConcurrentException; | |
import lombok.extern.slf4j.Slf4j; | |
import org.aspectj.lang.ProceedingJoinPoint; | |
import org.aspectj.lang.annotation.Around; | |
import org.aspectj.lang.annotation.Aspect; | |
import org.aspectj.lang.reflect.MethodSignature; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.context.expression.MethodBasedEvaluationContext; |
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
<mirror> | |
<id>ali</id> | |
<mirrorOf>*</mirrorOf> | |
<name>aliyun maven</name> | |
<url>https://maven.aliyun.com/repository/public</url> | |
</mirror> | |
<mirror> | |
<id>ibiblio</id> | |
<mirrorOf>central</mirrorOf> | |
<name>ibiblio Mirror of http://repo1.maven.org/maven2/</name> |
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
xstream、protobuf、protostuff |
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
management: | |
endpoints: | |
web: | |
exposure: | |
include: '*' |
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 validator; | |
import javax.validation.Constraint; | |
import javax.validation.ConstraintValidator; | |
import javax.validation.ConstraintValidatorContext; | |
import javax.validation.Payload; | |
import java.lang.annotation.Documented; | |
import java.lang.annotation.Repeatable; | |
import java.lang.annotation.Retention; | |
import java.lang.annotation.Target; |
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
mononoki |
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 org.inurl.example; | |
import com.google.common.base.Strings; | |
import org.apache.commons.codec.binary.Hex; | |
import org.apache.commons.codec.digest.DigestUtils; | |
/** | |
* @author raylax | |
*/ | |
public class MD5_LEA { |
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
import com.itextpdf.html2pdf.ConverterProperties; | |
import com.itextpdf.html2pdf.HtmlConverter; | |
import com.itextpdf.kernel.pdf.PdfDocument; | |
import com.itextpdf.kernel.pdf.PdfWriter; | |
import com.itextpdf.layout.Document; | |
import net.lingala.zip4j.ZipFile; | |
import net.lingala.zip4j.model.ZipParameters; | |
import java.io.ByteArrayInputStream; |
OlderNewer