Commits

Anonymous committed 574f0ca

*** empty log message ***

git-svn-id: http://svn.opensymphony.com/svn/propertyset/trunk@182bf3cbcdd-1c1a-0410-9a68-d6f521e3fa7b

Comments (0)

Files changed (2)

   <component name="CodeStyleProjectProfileManger">
     <option name="PROJECT_PROFILE" />
     <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
+    <scopes />
+    <profiles />
   </component>
   <component name="CodeStyleSettingsManager">
     <option name="PER_PROJECT_SETTINGS" />
   <component name="InspectionProjectProfileManager">
     <option name="PROJECT_PROFILE" value="Project Default" />
     <option name="USE_PROJECT_LEVEL_SETTINGS" value="false" />
+    <scopes />
+    <profiles>
+      <profile version="1.0">
+        <option name="myName" value="Project Default" />
+        <option name="myLocal" value="false" />
+        <used_levels>
+          <error>
+            <option name="myName" value="ERROR" />
+            <option name="myVal" value="200" />
+          </error>
+          <warning>
+            <option name="myName" value="WARNING" />
+            <option name="myVal" value="100" />
+          </warning>
+          <information>
+            <option name="myName" value="INFO" />
+            <option name="myVal" value="100" />
+          </information>
+          <server>
+            <option name="myName" value="SERVER PROBLEM" />
+            <option name="myVal" value="100" />
+          </server>
+        </used_levels>
+        <inspection_tool class="InfiniteLoopStatement" level="WARNING" enabled="false" />
+        <inspection_tool class="ILLEGAL_DEPENDENCY" level="WARNING" enabled="true" />
+        <inspection_tool class="ResultSetIndexZero" level="ERROR" enabled="true" />
+        <inspection_tool class="RedundantTypeArguments" level="WARNING" enabled="false" />
+        <inspection_tool class="HardCodedString" level="WARNING" enabled="false" />
+        <inspection_tool class="SerializableWithUnconstructableAncestor" level="WARNING" enabled="true" />
+        <inspection_tool class="ConstantConditions" level="WARNING" enabled="false">
+          <option name="SUGGEST_NULLABLE_ANNOTATIONS" value="false" />
+        </inspection_tool>
+        <inspection_tool class="DuplicateStringLiteral" level="WARNING" enabled="false" />
+        <inspection_tool class="ReadResolveAndWriteReplaceProtected" level="WARNING" enabled="true" />
+        <inspection_tool class="LengthOneStringsInConcatenation" level="WARNING" enabled="true" />
+        <inspection_tool class="UNUSED_THROWS" level="WARNING" enabled="true" />
+        <inspection_tool class="EJB_ERROR" level="ERROR" enabled="true" />
+        <inspection_tool class="ReturnFromFinallyBlock" level="WARNING" enabled="false" />
+        <inspection_tool class="CloneCallsSuperClone" level="WARNING" enabled="false" />
+        <inspection_tool class="UnnecessaryBoxing" level="WARNING" enabled="false" />
+        <inspection_tool class="WRONG_PACKAGE_STATEMENT" level="WARNING" enabled="true" />
+        <inspection_tool class="ManualArrayCopy" level="WARNING" enabled="false" />
+        <inspection_tool class="IgnoreResultOfCall" level="WARNING" enabled="false">
+          <option name="m_reportAllNonLibraryCalls" value="false" />
+          <option name="callCheckString" value="java.io.InputStream,read,java.io.InputStream,skip,java.lang.StringBuffer,toString,java.lang.StringBuilder,toString,java.lang.String,.*,java.math.BigInteger,.*,java.math.BigDecimal,.*,java.net.InetAddress,.*" />
+        </inspection_tool>
+        <inspection_tool class="ThrowFromFinallyBlock" level="WARNING" enabled="false" />
+        <inspection_tool class="UNKNOWN_JAVADOC_TAG" level="ERROR" enabled="true" />
+        <inspection_tool class="AbstractMethodOverridesAbstractMethod" level="WARNING" enabled="true" />
+        <inspection_tool class="FinalStaticMethod" level="WARNING" enabled="false" />
+        <inspection_tool class="SuspiciousMethodCalls" level="WARNING" enabled="false" />
+        <inspection_tool class="ResultOfObjectAllocationIgnored" level="WARNING" enabled="true" />
+        <inspection_tool class="ACCESS_STATIC_VIA_INSTANCE" level="WARNING" enabled="true" />
+        <inspection_tool class="UnnecessaryUnboxing" level="WARNING" enabled="false" />
+        <inspection_tool class="NoExplicitFinalizeCalls" level="WARNING" enabled="false" />
+        <inspection_tool class="FinalPrivateMethod" level="WARNING" enabled="false" />
+        <inspection_tool class="EJB_WARNING" level="WARNING" enabled="true" />
+        <inspection_tool class="StringLiteral" level="WARNING" enabled="false" />
+        <inspection_tool class="DEPRECATED_SYMBOL" level="WARNING" enabled="true" />
+        <inspection_tool class="SynchronizeOnNonFinalField" level="WARNING" enabled="false" />
+        <inspection_tool class="TrivialIf" level="WARNING" enabled="false" />
+        <inspection_tool class="JAVADOC_ERROR" level="ERROR" enabled="true" />
+        <inspection_tool class="ObjectEqualsNull" level="WARNING" enabled="false" />
+        <inspection_tool class="UnnecessaryBlockStatement" level="WARNING" enabled="true" />
+        <inspection_tool class="EmptyFinallyBlock" level="WARNING" enabled="false" />
+        <inspection_tool class="MismatchedCollectionQueryUpdate" level="WARNING" enabled="false" />
+        <inspection_tool class="EmptyStatementBody" level="WARNING" enabled="false">
+          <option name="m_reportEmptyBlocks" value="false" />
+        </inspection_tool>
+        <inspection_tool class="ReadObjectAndWriteObjectPrivate" level="WARNING" enabled="true" />
+        <inspection_tool class="StringEquality" level="WARNING" enabled="false" />
+        <inspection_tool class="InnerClassMayBeStatic" level="WARNING" enabled="true" />
+        <inspection_tool class="AssertAsName" level="WARNING" enabled="true" />
+        <inspection_tool class="TextLabelInSwitchStatement" level="ERROR" enabled="true" />
+        <inspection_tool class="OctalLiteral" level="WARNING" enabled="false" />
+        <inspection_tool class="ThrowGenericClass" level="WARNING" enabled="false" />
+        <inspection_tool class="InfiniteRecursion" level="WARNING" enabled="false" />
+        <inspection_tool class="EmptyCatchBlock" level="WARNING" enabled="false">
+          <option name="m_includeComments" value="true" />
+          <option name="m_ignoreTestCases" value="true" />
+        </inspection_tool>
+        <inspection_tool class="SerializableHasSerialVersionUIDField" level="WARNING" enabled="true">
+          <option name="m_ignoreSerializableDueToInheritance" value="true" />
+        </inspection_tool>
+        <inspection_tool class="ForCanBeForeach" level="WARNING" enabled="false" />
+        <inspection_tool class="TypeParameterExtendsObject" level="WARNING" enabled="false" />
+        <inspection_tool class="FinalizeCallsSuperFinalize" level="WARNING" enabled="false">
+          <option name="m_ignoreForObjectSubclasses" value="false" />
+        </inspection_tool>
+        <inspection_tool class="TrivialStringConcatenation" level="WARNING" enabled="true" />
+        <inspection_tool class="EmptySynchronizedStatement" level="WARNING" enabled="true" />
+        <inspection_tool class="UnnecessaryDefault" level="WARNING" enabled="true" />
+        <inspection_tool class="IncompatibleMask" level="WARNING" enabled="false" />
+        <inspection_tool class="SILLY_ASSIGNMENT" level="WARNING" enabled="true" />
+        <inspection_tool class="ExtendsObject" level="WARNING" enabled="false" />
+        <inspection_tool class="SerialVersionUIDNotStaticFinal" level="WARNING" enabled="true" />
+        <inspection_tool class="EmptyTryBlock" level="WARNING" enabled="false" />
+        <inspection_tool class="StringEqualsEmptyString" level="WARNING" enabled="true" />
+        <inspection_tool class="CloneDeclaresCloneNotSupported" level="WARNING" enabled="false" />
+        <inspection_tool class="EnumAsName" level="WARNING" enabled="true" />
+        <inspection_tool class="MismatchedArrayReadWrite" level="WARNING" enabled="false" />
+        <inspection_tool class="PointlessBitwiseExpression" level="WARNING" enabled="false">
+          <option name="m_ignoreExpressionsContainingConstants" value="false" />
+        </inspection_tool>
+        <inspection_tool class="ContinueOrBreakFromFinallyBlock" level="WARNING" enabled="false" />
+        <inspection_tool class="FieldCanBeLocal" level="WARNING" enabled="false" />
+        <inspection_tool class="ReferencesToClassesFromDefaultPackagesInJSPFile" level="ERROR" enabled="false" />
+        <inspection_tool class="JavaDoc" level="WARNING" enabled="false">
+          <option name="TOP_LEVEL_CLASS_OPTIONS">
+            <value>
+              <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+              <option name="REQUIRED_TAGS" value="" />
+            </value>
+          </option>
+          <option name="INNER_CLASS_OPTIONS">
+            <value>
+              <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+              <option name="REQUIRED_TAGS" value="" />
+            </value>
+          </option>
+          <option name="METHOD_OPTIONS">
+            <value>
+              <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+              <option name="REQUIRED_TAGS" value="@return@param@throws or @exception" />
+            </value>
+          </option>
+          <option name="FIELD_OPTIONS">
+            <value>
+              <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="none" />
+              <option name="REQUIRED_TAGS" value="" />
+            </value>
+          </option>
+          <option name="IGNORE_DEPRECATED" value="false" />
+          <option name="IGNORE_JAVADOC_PERIOD" value="true" />
+          <option name="myAdditionalJavadocTags" value="" />
+        </inspection_tool>
+        <inspection_tool class="JSUnresolvedVariable" level="WARNING" enabled="true" />
+        <inspection_tool class="JSUnresolvedFunction" level="WARNING" enabled="true" />
+        <inspection_tool class="JSUndeclaredVariable" level="WARNING" enabled="true" />
+        <inspection_tool class="AnalyzingVariableNaming" level="WARNING" enabled="true">
+          <option name="CHECK_STATIC_FINAL_FIELDS" value="false" />
+          <option name="CHECK_STATIC_FIELDS" value="true" />
+          <option name="CHECK_FIELDS" value="true" />
+          <option name="CHECK_PARAMETERS" value="true" />
+        </inspection_tool>
+        <inspection_tool class="AnalyzingLoggingWithoutLogLevelCheck" level="WARNING" enabled="true">
+          <option name="CHECK_DEBUG" value="true" />
+          <option name="CHECK_INFO" value="false" />
+          <option name="IGNORE_SIMPLE_STATEMENTS" value="true" />
+        </inspection_tool>
+        <inspection_tool class="UnnecessaryModuleDependencyInspection" level="WARNING" enabled="true" />
+      </profile>
+    </profiles>
   </component>
   <component name="JavacSettings">
     <option name="DEBUGGING_INFO" value="true" />

providers/ejb3/src/com/opensymphony/module/propertyset/ejb3/EJBPropertySet.java

 
     public void remove(String entityName, long entityId) throws PropertyException {
         boolean mustCommit = joinTransaction();
-        Query q = entityManager.createNamedQuery("values");
+        Query q = entityManager.createNamedQuery("entries");
         q.setParameter("entityId", entityId);
         q.setParameter("entityName", entityName);