Fixed currencies display, added help for currency rates keyword.
This commit is contained in:
parent
0255fa537f
commit
80921e2aea
8 changed files with 670 additions and 860 deletions
|
@ -1,3 +1,3 @@
|
||||||
#ANT Task: ch.oscg.jreleaseinfo.BuildNumberHandler
|
#ANT Task: ch.oscg.jreleaseinfo.BuildNumberHandler
|
||||||
#Fri Apr 25 18:08:16 PDT 2014
|
#Sat Aug 29 12:08:20 PDT 2015
|
||||||
build.num.last=0
|
build.num.last=0
|
||||||
|
|
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,6 +1,6 @@
|
||||||
#Sat Apr 19 12:47:30 PDT 2014
|
#Sat Aug 29 12:01:59 PDT 2015
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-bin.zip
|
||||||
|
|
369
mobibot.ipr
369
mobibot.ipr
|
@ -132,335 +132,46 @@
|
||||||
</component>
|
</component>
|
||||||
<component name="IdProvider" IDEtalkID="ADF4C98C99466E4EF52C8D21B83FF938" />
|
<component name="IdProvider" IDEtalkID="ADF4C98C99466E4EF52C8D21B83FF938" />
|
||||||
<component name="InspectionProjectProfileManager">
|
<component name="InspectionProjectProfileManager">
|
||||||
<profiles>
|
<profile version="1.0">
|
||||||
<profile version="1.0" is_locked="false">
|
<option name="myName" value="Project Default" />
|
||||||
<option name="myName" value="Default" />
|
<inspection_tool class="JavaDoc" enabled="true" level="WARNING" enabled_by_default="true">
|
||||||
<option name="myLocal" value="false" />
|
<option name="TOP_LEVEL_CLASS_OPTIONS">
|
||||||
<inspection_tool class="JavaDoc" enabled="true" level="WARNING" enabled_by_default="true">
|
<value>
|
||||||
<option name="TOP_LEVEL_CLASS_OPTIONS">
|
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
|
||||||
<value>
|
<option name="REQUIRED_TAGS" value="" />
|
||||||
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
|
</value>
|
||||||
<option name="REQUIRED_TAGS" value="" />
|
</option>
|
||||||
</value>
|
<option name="INNER_CLASS_OPTIONS">
|
||||||
</option>
|
<value>
|
||||||
<option name="INNER_CLASS_OPTIONS">
|
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
|
||||||
<value>
|
<option name="REQUIRED_TAGS" value="" />
|
||||||
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
|
</value>
|
||||||
<option name="REQUIRED_TAGS" value="" />
|
</option>
|
||||||
</value>
|
<option name="METHOD_OPTIONS">
|
||||||
</option>
|
<value>
|
||||||
<option name="METHOD_OPTIONS">
|
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
|
||||||
<value>
|
<option name="REQUIRED_TAGS" value="@return@param@throws or @exception" />
|
||||||
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
|
</value>
|
||||||
<option name="REQUIRED_TAGS" value="@return@param@throws or @exception" />
|
</option>
|
||||||
</value>
|
<option name="FIELD_OPTIONS">
|
||||||
</option>
|
<value>
|
||||||
<option name="FIELD_OPTIONS">
|
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
|
||||||
<value>
|
<option name="REQUIRED_TAGS" value="" />
|
||||||
<option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
|
</value>
|
||||||
<option name="REQUIRED_TAGS" value="" />
|
</option>
|
||||||
</value>
|
<option name="IGNORE_DEPRECATED" value="false" />
|
||||||
</option>
|
<option name="IGNORE_JAVADOC_PERIOD" value="true" />
|
||||||
<option name="IGNORE_DEPRECATED" value="false" />
|
<option name="IGNORE_DUPLICATED_THROWS" value="false" />
|
||||||
<option name="IGNORE_JAVADOC_PERIOD" value="true" />
|
<option name="IGNORE_POINT_TO_ITSELF" value="false" />
|
||||||
<option name="IGNORE_DUPLICATED_THROWS" value="false" />
|
<option name="myAdditionalJavadocTags" value="created" />
|
||||||
<option name="IGNORE_POINT_TO_ITSELF" value="false" />
|
</inspection_tool>
|
||||||
<option name="myAdditionalJavadocTags" value="created" />
|
<inspection_tool class="LoggerInitializedWithForeignClass" enabled="false" level="WARNING" enabled_by_default="false">
|
||||||
</inspection_tool>
|
<option name="loggerClassName" value="org.apache.log4j.Logger,org.slf4j.LoggerFactory,org.apache.commons.logging.LogFactory,java.util.logging.Logger" />
|
||||||
<inspection_tool class="LoggerInitializedWithForeignClass" enabled="false" level="WARNING" enabled_by_default="false">
|
<option name="loggerFactoryMethodName" value="getLogger,getLogger,getLog,getLogger" />
|
||||||
<option name="loggerClassName" value="org.apache.log4j.Logger,org.slf4j.LoggerFactory,org.apache.commons.logging.LogFactory,java.util.logging.Logger" />
|
</inspection_tool>
|
||||||
<option name="loggerFactoryMethodName" value="getLogger,getLogger,getLog,getLogger" />
|
</profile>
|
||||||
</inspection_tool>
|
<option name="PROJECT_PROFILE" value="Project Default" />
|
||||||
</profile>
|
<option name="USE_PROJECT_PROFILE" value="true" />
|
||||||
<profile version="1.0" is_locked="false">
|
|
||||||
<option name="myName" value="Project Default" />
|
|
||||||
<option name="myLocal" value="false" />
|
|
||||||
<inspection_tool class="AbstractClassExtendsConcreteClass" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AbstractClassWithoutAbstractMethods" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AbstractMethodCallInConstructor" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AbstractMethodOverridesAbstractMethod" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AbstractMethodOverridesConcreteMethod" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="Annotation" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AnnotationClass" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AssertAsName" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AssertStatement" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AssignmentToCatchBlockParameter" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AssignmentToCollectionFieldFromParameter" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignorePrivateMethods" value="true" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="AssignmentToMethodParameter" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignoreTransformationOfOriginalParameter" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="AssignmentUsedAsCondition" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="AutoBoxing" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignoreAddedToCollection" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="BreakStatementWithLabelJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="BusyWait" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="CStyleArrayDeclaration" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="CastThatLosesPrecision" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignoreIntegerCharCasts" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="ChannelResource" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="insideTryAllowed" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="CheckedExceptionClass" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ClassEscapesItsScope" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ClassInTopLevelPackage" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ClassMayBeInterface" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ClassNameDiffersFromFileName" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ClassReferencesSubclass" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ClassWithMultipleLoggers" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="loggerNamesString" value="java.util.logging.Logger,org.slf4j.Logger,org.apache.commons.logging.Log,org.apache.log4j.Logger" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="CollectionsMustHaveInitialCapacity" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="CompareToUsesNonFinalVariable" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ConfusingFloatingPointLiteral" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ConfusingMainMethod" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ConstantDeclaredInAbstractClass" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ConstantDeclaredInInterface" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ConstantNamingConvention" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="onlyCheckImmutables" value="false" />
|
|
||||||
<option name="m_regex" value="[A-Z_\d]*" />
|
|
||||||
<option name="m_minLength" value="5" />
|
|
||||||
<option name="m_maxLength" value="32" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="ContinueStatementJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ContinueStatementWithLabel" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="DeclareCollectionAsInterface" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignoreLocalVariables" value="false" />
|
|
||||||
<option name="ignorePrivateMethodsAndFields" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="DefaultNotLastCaseInSwitchJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="DollarSignInName" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="DoubleCheckedLocking" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignoreOnVolatileVariables" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="EmptyCatchBlockJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="EmptyClass" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignorableAnnotations">
|
|
||||||
<value />
|
|
||||||
</option>
|
|
||||||
<option name="ignoreClassWithParameterization" value="false" />
|
|
||||||
<option name="ignoreThrowables" value="true" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="EmptyFinallyBlockJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="EmptySynchronizedStatement" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="EnumAsName" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="EnumClass" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="EqualsAndHashcode" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="EqualsUsesNonFinalVariable" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ExceptionFromCatchWhichDoesntWrap" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignoreGetMessage" value="false" />
|
|
||||||
<option name="ignoreCantWrap" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="FallthruInSwitchStatement" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="FieldAccessedSynchronizedAndUnsynchronized" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="countGettersAndSetters" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="FieldHidesSuperclassField" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignoreInvisibleFields" value="true" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="FieldMayBeStatic" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="FinalClass" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="FinalMethodInFinalClass" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="FloatingPointEquality" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ForLoopReplaceableByWhile" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignoreLoopsWithoutConditions" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="HashCodeUsesNonFinalVariable" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="IOResource" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignoredTypesString" value="java.io.ByteArrayOutputStream,java.io.ByteArrayInputStream,java.io.StringBufferInputStream,java.io.CharArrayWriter,java.io.CharArrayReader,java.io.StringWriter,java.io.StringReader" />
|
|
||||||
<option name="insideTryAllowed" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="IncrementDecrementUsedAsExpression" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="InnerClassMayBeStatic" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="InnerClassOnInterface" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignoreInnerInterfaces" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="InnerClassVariableHidesOuterClassVariable" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignoreInvisibleFields" value="true" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="InstanceVariableInitialization" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignorePrimitives" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="InstanceVariableUninitializedUse" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignorePrimitives" value="false" />
|
|
||||||
<option name="annotationNamesString" value="" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="InstanceofCatchParameter" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="InstanceofInterfaces" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="InstanceofThis" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="IntegerDivisionInFloatingPointContext" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="InterfaceNamingConvention" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_regex" value="[A-Z][A-Za-z\d]*" />
|
|
||||||
<option name="m_minLength" value="8" />
|
|
||||||
<option name="m_maxLength" value="64" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="JDBCResource" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="insideTryAllowed" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="JUnitTestNG" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="JavaLangReflect" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="LengthOneStringsInConcatenation" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="LiteralAsArgToStringEquals" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="LocalCanBeFinal" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="REPORT_VARIABLES" value="true" />
|
|
||||||
<option name="REPORT_PARAMETERS" value="true" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="LocalVariableHidingMemberVariable" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignoreInvisibleFields" value="true" />
|
|
||||||
<option name="m_ignoreStaticMethods" value="true" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="LongLiteralsEndingWithLowercaseL" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="MarkerInterface" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="MethodMayBeStatic" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_onlyPrivateOrFinal" value="false" />
|
|
||||||
<option name="m_ignoreEmptyMethods" value="true" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="MethodNamesDifferOnlyByCase" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="MethodOverloadsParentMethod" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="MethodOverridesPrivateMethod" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="MethodOverridesStaticMethod" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="MissortedModifiers" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_requireAnnotationsFirst" value="true" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="MisspelledCompareTo" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="MisspelledHashcode" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="MultipleDeclaration" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignoreForLoopDeclarations" value="true" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="MultipleTopLevelClassesInFile" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="MultipleTypedDeclaration" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="MultiplyOrDivideByPowerOfTwo" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="checkDivision" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="NativeMethods" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="NestedConditionalExpressionJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="NestedSwitchStatementJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="NestedSynchronizedStatement" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="NonExceptionNameEndsWithException" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="NonSerializableWithSerializationMethods" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="NonStaticFinalLogger" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="loggerClassName" value="java.util.logging.Logger" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="NonStaticInnerClassInSecureContext" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="NonSynchronizedMethodOverridesSynchronizedMethod" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="NoopMethodInAbstractClass" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ObsoleteCollection" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignoreRequiredObsoleteCollectionTypes" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="OctalAndDecimalIntegersMixed" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="PackageVisibleField" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="PackageVisibleInnerClass" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignoreEnums" value="false" />
|
|
||||||
<option name="ignoreInterfaces" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="ParameterHidingMemberVariable" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignoreInvisibleFields" value="true" />
|
|
||||||
<option name="m_ignoreStaticMethodParametersHidingInstanceFields" value="false" />
|
|
||||||
<option name="m_ignoreForConstructors" value="false" />
|
|
||||||
<option name="m_ignoreForPropertySetters" value="false" />
|
|
||||||
<option name="m_ignoreForAbstractMethods" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="ParameterNamingConvention" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_regex" value="[a-z][A-Za-z\d]*" />
|
|
||||||
<option name="m_minLength" value="1" />
|
|
||||||
<option name="m_maxLength" value="20" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="ProtectedField" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ProtectedMemberInFinalClass" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="PublicField" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignoreEnums" value="false" />
|
|
||||||
<option name="ignorableAnnotations">
|
|
||||||
<value />
|
|
||||||
</option>
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="PublicFieldAccessedInSynchronizedContext" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ReadObjectAndWriteObjectPrivate" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="ReadResolveAndWriteReplaceProtected" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="RefusedBequest" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignoreEmptySuperMethods" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="ReturnOfCollectionField" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignorePrivateMethods" value="true" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="ReturnThis" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="SerializableWithUnconstructableAncestor" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="SimplifiableIfStatement" enabled="false" level="WARNING" enabled_by_default="false" />
|
|
||||||
<inspection_tool class="Singleton" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="SocketResource" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="insideTryAllowed" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="StandardVariableNames" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="StaticCollection" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignoreWeakCollections" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="StaticInheritance" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="StaticMethodNamingConvention" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_regex" value="[a-z][A-Za-z\d]*" />
|
|
||||||
<option name="m_minLength" value="4" />
|
|
||||||
<option name="m_maxLength" value="32" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="StaticNonFinalField" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="StaticVariableInitialization" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignorePrimitives" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="StaticVariableUninitializedUse" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignorePrimitives" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="StringBufferMustHaveInitialCapacity" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="SubtractionInCompareTo" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="SwitchStatementWithConfusingDeclaration" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="SwitchStatementsWithoutDefault" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignoreFullyCoveredEnums" value="true" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="SynchronizeOnThis" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="SystemOutErr" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="TailRecursionJS" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="TextLabelInSwitchStatement" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="TransientFieldInNonSerializableClass" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="UNCHECKED_WARNING" enabled="false" level="WARNING" enabled_by_default="false" />
|
|
||||||
<inspection_tool class="UncheckedExceptionClass" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="UnnecessarilyQualifiedStaticUsage" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignoreStaticFieldAccesses" value="false" />
|
|
||||||
<option name="m_ignoreStaticMethodCalls" value="false" />
|
|
||||||
<option name="m_ignoreStaticAccessFromStaticContext" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="UnnecessaryFinalOnParameter" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="onlyWarnOnAbstractMethods" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="UnnecessaryFullyQualifiedName" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="m_ignoreJavadoc" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="UnnecessaryInterfaceModifier" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="UnnecessarySemicolon" enabled="false" level="WARNING" enabled_by_default="false" />
|
|
||||||
<inspection_tool class="UnnecessaryThis" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="UnusedDeclaration" enabled="false" level="WARNING" enabled_by_default="false">
|
|
||||||
<option name="ADD_MAINS_TO_ENTRIES" value="true" />
|
|
||||||
<option name="ADD_APPLET_TO_ENTRIES" value="true" />
|
|
||||||
<option name="ADD_SERVLET_TO_ENTRIES" value="true" />
|
|
||||||
<option name="ADD_NONJAVA_TO_ENTRIES" value="true" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="UnusedImport" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="UtilityClassWithoutPrivateConstructor" enabled="true" level="WARNING" enabled_by_default="true">
|
|
||||||
<option name="ignorableAnnotations">
|
|
||||||
<value />
|
|
||||||
</option>
|
|
||||||
<option name="ignoreClassesWithOnlyMain" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="VarargParameter" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="WaitNotInLoop" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
<inspection_tool class="WeakerAccess" enabled="false" level="WARNING" enabled_by_default="false">
|
|
||||||
<option name="SUGGEST_PACKAGE_LOCAL_FOR_MEMBERS" value="true" />
|
|
||||||
<option name="SUGGEST_PACKAGE_LOCAL_FOR_TOP_CLASSES" value="true" />
|
|
||||||
<option name="SUGGEST_PRIVATE_FOR_INNERS" value="false" />
|
|
||||||
</inspection_tool>
|
|
||||||
<inspection_tool class="ZeroLengthArrayInitialization" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
<option name="PROJECT_PROFILE" />
|
|
||||||
<option name="USE_PROJECT_PROFILE" value="false" />
|
|
||||||
<version value="1.0" />
|
<version value="1.0" />
|
||||||
</component>
|
</component>
|
||||||
<component name="JavadocGenerationManager">
|
<component name="JavadocGenerationManager">
|
||||||
|
|
911
mobibot.iws
911
mobibot.iws
File diff suppressed because it is too large
Load diff
|
@ -98,7 +98,7 @@ public class CurrencyConverter implements Runnable
|
||||||
*/
|
*/
|
||||||
public final void run()
|
public final void run()
|
||||||
{
|
{
|
||||||
if (Utils.isValidString(sender) && Utils.isValidString(query))
|
if (Utils.isValidString(sender))
|
||||||
{
|
{
|
||||||
if (EXCHANGE_RATES.isEmpty())
|
if (EXCHANGE_RATES.isEmpty())
|
||||||
{
|
{
|
||||||
|
@ -140,71 +140,76 @@ public class CurrencyConverter implements Runnable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!EXCHANGE_RATES.isEmpty())
|
if (EXCHANGE_RATES.isEmpty())
|
||||||
{
|
{
|
||||||
if (query.matches("\\d+([,\\d]+)?(\\.\\d+)? [a-zA-Z]{3}+ to [a-zA-Z]{3}+"))
|
bot.getLogger().debug("The exchange rate table is empty.");
|
||||||
|
bot.send(sender, "Sorry, but the exchange rate table is empty.");
|
||||||
|
}
|
||||||
|
else if (Utils.isValidString(query))
|
||||||
|
{
|
||||||
|
if (!EXCHANGE_RATES.isEmpty())
|
||||||
{
|
{
|
||||||
final String[] cmds = query.split(" ");
|
if (query.matches("\\d+([,\\d]+)?(\\.\\d+)? [a-zA-Z]{3}+ to [a-zA-Z]{3}+"))
|
||||||
|
|
||||||
if (cmds.length == 4)
|
|
||||||
{
|
{
|
||||||
if (cmds[3].equals(cmds[1]) || cmds[0].equals("0"))
|
final String[] cmds = query.split(" ");
|
||||||
{
|
|
||||||
bot.send(sender, "You're kidding, right?");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
try
|
|
||||||
{
|
|
||||||
final double amt = Double.parseDouble(cmds[0].replaceAll(",", ""));
|
|
||||||
final double from = Double.parseDouble(EXCHANGE_RATES.get(cmds[1].toUpperCase()));
|
|
||||||
final double to = Double.parseDouble(EXCHANGE_RATES.get(cmds[3].toUpperCase()));
|
|
||||||
|
|
||||||
bot.send(bot.getChannel(),
|
if (cmds.length == 4)
|
||||||
NumberFormat.getCurrencyInstance(Locale.US).format(amt).substring(1) + ' ' +
|
{
|
||||||
cmds[1].toUpperCase() + " = " +
|
if (cmds[3].equals(cmds[1]) || cmds[0].equals("0"))
|
||||||
NumberFormat.getCurrencyInstance(Locale.US).format((amt * to) / from)
|
|
||||||
.substring(1) + ' ' + cmds[3].toUpperCase());
|
|
||||||
}
|
|
||||||
catch (NullPointerException ignored)
|
|
||||||
{
|
{
|
||||||
bot.send(sender, "The supported currencies are: " + EXCHANGE_RATES.keySet().toString());
|
bot.send(sender, "You're kidding, right?");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
final double amt = Double.parseDouble(cmds[0].replaceAll(",", ""));
|
||||||
|
final double from = Double.parseDouble(EXCHANGE_RATES.get(cmds[1].toUpperCase()));
|
||||||
|
final double to = Double.parseDouble(EXCHANGE_RATES.get(cmds[3].toUpperCase()));
|
||||||
|
|
||||||
|
bot.send(bot.getChannel(),
|
||||||
|
NumberFormat.getCurrencyInstance(Locale.US).format(amt).substring(1) + ' '
|
||||||
|
+
|
||||||
|
cmds[1].toUpperCase() + " = " +
|
||||||
|
NumberFormat.getCurrencyInstance(Locale.US).format((amt * to) / from)
|
||||||
|
.substring(1) + ' ' + cmds[3].toUpperCase());
|
||||||
|
}
|
||||||
|
catch (NullPointerException ignored)
|
||||||
|
{
|
||||||
|
bot.send(sender,
|
||||||
|
"The supported currencies are: " + EXCHANGE_RATES.keySet().toString());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
else if (query.equals(Commands.CURRENCY_RATES_KEYWORD))
|
||||||
else if (query.equals(Commands.CURRENCY_RATES_KEYWORD))
|
|
||||||
{
|
|
||||||
bot.send(sender, "Last Update: " + pubDate);
|
|
||||||
|
|
||||||
final Iterator<String> it = EXCHANGE_RATES.keySet().iterator();
|
|
||||||
String rate;
|
|
||||||
|
|
||||||
final StringBuilder buff = new StringBuilder(0);
|
|
||||||
|
|
||||||
while (it.hasNext())
|
|
||||||
{
|
{
|
||||||
rate = it.next();
|
bot.send(sender, "Last Update: " + pubDate);
|
||||||
if (buff.length() > 0)
|
|
||||||
|
final Iterator<String> it = EXCHANGE_RATES.keySet().iterator();
|
||||||
|
String rate;
|
||||||
|
|
||||||
|
final StringBuilder buff = new StringBuilder(0);
|
||||||
|
|
||||||
|
while (it.hasNext())
|
||||||
{
|
{
|
||||||
buff.append(", ");
|
rate = it.next();
|
||||||
|
if (buff.length() > 0)
|
||||||
|
{
|
||||||
|
buff.append(", ");
|
||||||
|
}
|
||||||
|
buff.append(rate).append(": ").append(EXCHANGE_RATES.get(rate));
|
||||||
}
|
}
|
||||||
buff.append(rate).append(": ").append(EXCHANGE_RATES.get(rate));
|
|
||||||
|
bot.send(sender, buff.toString());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bot.send(sender, buff.toString());
|
|
||||||
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
bot.helpResponse(sender, Commands.CURRENCY_CMD + ' ' + query);
|
|
||||||
bot.send(sender, "The supported currencies are: " + EXCHANGE_RATES.keySet().toString());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
bot.getLogger().debug("The exchange rate table is empty.");
|
bot.helpResponse(sender, Commands.CURRENCY_CMD + ' ' + query);
|
||||||
bot.send(sender, "Sorry, but the exchange rate table is empty.");
|
bot.send(sender, "The supported currencies are: " + EXCHANGE_RATES.keySet().toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -215,6 +220,7 @@ public class CurrencyConverter implements Runnable
|
||||||
* @param sender The nick of the person who sent the message.
|
* @param sender The nick of the person who sent the message.
|
||||||
* @param query The currency query.
|
* @param query The currency query.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public synchronized void setQuery(String sender, String query)
|
public synchronized void setQuery(String sender, String query)
|
||||||
{
|
{
|
||||||
this.query = query;
|
this.query = query;
|
||||||
|
|
|
@ -1211,6 +1211,8 @@ public class Mobibot extends PircBot
|
||||||
|
|
||||||
if (lcTopic.endsWith(Commands.CURRENCY_CMD))
|
if (lcTopic.endsWith(Commands.CURRENCY_CMD))
|
||||||
{
|
{
|
||||||
|
send(sender, "For a listing of currency rates:");
|
||||||
|
send(sender, DOUBLE_INDENT + Utils.bold(getNick() + ": " + Commands.CURRENCY_CMD) + ' ' + Commands.CURRENCY_RATES_KEYWORD);
|
||||||
send(sender, "For a listing of supported currencies:");
|
send(sender, "For a listing of supported currencies:");
|
||||||
send(sender, DOUBLE_INDENT + Utils.bold(getNick() + ": " + Commands.CURRENCY_CMD));
|
send(sender, DOUBLE_INDENT + Utils.bold(getNick() + ": " + Commands.CURRENCY_CMD));
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,115 +1,59 @@
|
||||||
/*
|
|
||||||
* ReleaseInfo.java
|
|
||||||
*
|
|
||||||
* Copyright (c) 2004-2015, Erik C. Thauvin (erik@thauvin.net)
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions are
|
|
||||||
* met:
|
|
||||||
*
|
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
|
||||||
* this list of conditions and the following disclaimer.
|
|
||||||
*
|
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
* this list of conditions and the following disclaimer in the documentation
|
|
||||||
* and/or other materials provided with the distribution.
|
|
||||||
*
|
|
||||||
* Neither the name of the author nor the names of its contributors may be
|
|
||||||
* used to endorse or promote products derived from this software without
|
|
||||||
* specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
||||||
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
||||||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
||||||
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
||||||
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
||||||
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
||||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
||||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Created by JReleaseInfo AntTask from Open Source Competence Group */
|
/* Created by JReleaseInfo AntTask from Open Source Competence Group */
|
||||||
/* Creation date Fri Apr 25 18:08:16 PDT 2014 */
|
/* Creation date Sat Aug 29 12:08:20 PDT 2015 */
|
||||||
package net.thauvin.erik.mobibot;
|
package net.thauvin.erik.mobibot;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class provides information gathered from the build environment.
|
* This class provides information gathered from the build environment.
|
||||||
*
|
*
|
||||||
* @author JReleaseInfo AntTask
|
* @author JReleaseInfo AntTask
|
||||||
*/
|
*/
|
||||||
public class ReleaseInfo
|
public class ReleaseInfo {
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* buildDate (set during build process to 1398474496363L).
|
* Disables the default constructor.
|
||||||
*/
|
* @throws UnsupportedOperationException if the constructor is called.
|
||||||
private static final Date buildDate = new Date(1398474496363L);
|
*/
|
||||||
|
private ReleaseInfo() throws UnsupportedOperationException {
|
||||||
|
throw new UnsupportedOperationException("Illegal constructor call.");
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* project (set during build process to "mobibot").
|
|
||||||
*/
|
|
||||||
private static final String project = "mobibot";
|
|
||||||
|
|
||||||
/**
|
/** buildDate (set during build process to 1440875300470L). */
|
||||||
* version (set during build process to "0.6").
|
private static final Date buildDate = new Date(1440875300470L);
|
||||||
*/
|
|
||||||
private static final String version = "0.6";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Disables the default constructor.
|
* Get buildDate (set during build process to Sat Aug 29 12:08:20 PDT 2015).
|
||||||
*
|
* @return Date buildDate
|
||||||
* @throws UnsupportedOperationException if the constructor is called.
|
*/
|
||||||
*/
|
public static Date getBuildDate() { return buildDate; }
|
||||||
private ReleaseInfo()
|
|
||||||
throws UnsupportedOperationException
|
|
||||||
{
|
|
||||||
throw new UnsupportedOperationException("Illegal constructor call.");
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get buildDate (set during build process to Fri Apr 25 18:08:16 PDT 2014).
|
|
||||||
*
|
|
||||||
* @return Date buildDate
|
|
||||||
*/
|
|
||||||
public static Date getBuildDate()
|
|
||||||
{
|
|
||||||
return buildDate;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/** project (set during build process to "mobibot"). */
|
||||||
* Get buildNumber (set during build process to 0).
|
private static final String project = "mobibot";
|
||||||
*
|
|
||||||
* @return int buildNumber
|
|
||||||
*/
|
|
||||||
public static int getBuildNumber()
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get project (set during build process to "mobibot").
|
* Get project (set during build process to "mobibot").
|
||||||
*
|
* @return String project
|
||||||
* @return String project
|
*/
|
||||||
*/
|
public static String getProject() { return project; }
|
||||||
public static String getProject()
|
|
||||||
{
|
|
||||||
return project;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get version (set during build process to "0.6").
|
/** version (set during build process to "0.6"). */
|
||||||
*
|
private static final String version = "0.6";
|
||||||
* @return String version
|
|
||||||
*/
|
/**
|
||||||
public static String getVersion()
|
* Get version (set during build process to "0.6").
|
||||||
{
|
* @return String version
|
||||||
return version;
|
*/
|
||||||
}
|
public static String getVersion() { return version; }
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get buildNumber (set during build process to 0).
|
||||||
|
* @return int buildNumber
|
||||||
|
*/
|
||||||
|
public static int getBuildNumber() { return 0; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue