| 😄 | 😆 | 😊 | 😃 |
😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 | | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷
😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨
#set($paramName = $helper.getParamName($field, $project)) | |
public ## | |
#if($field.modifierStatic) | |
static void ## | |
#else | |
$classname ## | |
#end | |
with$StringUtil.capitalizeWithJavaBeanConvention($StringUtil.sanitizeJavaIdentifier($helper.getPropertyName($field, $project)))($field.type $paramName) { | |
#if ($field.name == $paramName) | |
#if (!$field.modifierStatic) |
package fr.husta.util.bigdecimal; | |
import java.math.BigDecimal; | |
public class BigDecimalComparison | |
{ | |
/** | |
* Initiate the comparison. | |
* |
import java.lang.reflect.Field; | |
import org.apache.commons.lang.StringUtils; | |
/** | |
* Inspiré de {@link com.google.common.base.Enums} et {@link org.apache.commons.lang3.EnumUtils}. | |
*/ | |
public class EnumUtils | |
{ |
package ...util.dozer.converters.time; | |
import java.util.Date; | |
import org.dozer.DozerConverter; | |
import org.joda.time.LocalDate; | |
/** | |
* <b>Converter Dozer</b> : Convert a {@link LocalDate} to {@link Date}. | |
*/ |
| 😄 | 😆 | 😊 | 😃 |
😩 | 😔 | 😞 | 😖 | 😨 | 😰 | 😣 | 😢 | 😭 | 😂 | 😲 | 😱 | | 😫 | 😠 | 😡 | 😤 | 😪 | 😋 | 😷
😎 | 😵 | 👿 | 😈 | 😐 | 😶 | 😇 | 👽 | 💛 | 💙 | 💜 | ❤️ | 💚 | 💔 | 💓 | 💗 | 💕 | 💞 | 💘 | ✨
mvn install:install-file -Dfile=my-sources.jar -DgroupId=commons-dbcp -DartifactId=commons-dbcp -Dversion=1.2 -Dpackaging=jar -Dclassifier=sources |
// SimpleDateFormat is not thread-safe, so give one to each thread | |
private static final ThreadLocal<SimpleDateFormat> DATE_FORMAT_ISO_DATE = new ThreadLocal<SimpleDateFormat>() { | |
@Override | |
protected SimpleDateFormat initialValue() { | |
return new SimpleDateFormat("yyyy-MM-dd"); //$NON-NLS-1$ | |
} | |
}; |
FROM tomcat:8.5-jre8 | |
# $CATALINA_HOME is defined in tomcat image | |
ADD target/my-webapp*.war $CATALINA_HOME/webapps/my-webapp.war | |
# Application config | |
RUN mkdir $CATALINA_HOME/app_conf/ | |
ADD src/main/config/test.properties $CATALINA_HOME/app_conf/ | |
# Modify property 'shared.loader' in catalina.properties |
FROM tomcat:8.5-jre8 | |
# $CATALINA_HOME is defined in tomcat image | |
ADD target/my-webapp*.war $CATALINA_HOME/webapps/my-webapp.war | |
# Application config | |
RUN mkdir $CATALINA_HOME/app_conf/ | |
ADD src/main/config/test.properties $CATALINA_HOME/app_conf/ | |
# Create "$CATALINA_HOME/bin/setenv.sh" |
/* | |
* Généré par Hibernate Tools ${version} le ${date} | |
* avec FreeMarker ${.version} | |
*/ | |
${pojo.getPackageDeclaration()} | |
import ${pojo.getQualifiedDeclarationName()}; | |
<#assign classbody> | |
<#assign pkType = pojo.getJavaTypeName(clazz.identifierProperty, true) /> |