Search Results
OK to copy?
Examples 1 through 10 of
68 (0.05 seconds)
Class:
org.springframework.beans.factory.support.MethodOverrides
©,
Rating:
0% of 0,
C1
Class: org.springframework.beans.factory.support.ManagedSet ©, Rating: 0% of 0, C1
Class: org.apache.batik.svggen.SVGAttribute ©, Rating: 0% of 0, C1
Class: org.springframework.jdbc.support.SQLStateSQLExceptionTranslator ©, Rating: 0% of 0, C3
Class: org.springframework.jdbc.support.SQLStateSQLExceptionTranslator ©, Rating: 0% of 0, C3
Class: org.apache.batik.svggen.SVGCSSStyler ©, Rating: 0% of 0, C2
Class: org.springframework.core.ConstantsTests ©, Rating: 0% of 0, C1
Class: org.springframework.core.ConstantsTests ©, Rating: 0% of 0, C1
Class: org.springframework.core.ConstantsTests ©, Rating: 0% of 0, C1
Class: org.springframework.core.ConstantsTests ©, Rating: 0% of 0, C1
078
079 public boolean isOverloadedMethodName(String methodName) {
080 return this.overloadedMethodNames.contains(methodName);
081 }
082
Class: org.springframework.beans.factory.support.ManagedSet ©, Rating: 0% of 0, C1
Class: org.apache.batik.svggen.SVGAttribute ©, Rating: 0% of 0, C1
104 */
105 public boolean appliesTo(String tag){
106 boolean tagInMap = applicabilitySet.contains(tag);
107 if(isSetInclusive)
108 return tagInMap;
Class: org.springframework.jdbc.support.SQLStateSQLExceptionTranslator ©, Rating: 0% of 0, C3
090 return new BadSqlGrammarException(task, sql, sqlEx);
091 }
092 else if (INTEGRITY_VIOLATION_CODES.contains(classCode)) {
093 return new DataIntegrityViolationException(
094 "(" + task + "): data integrity violated by SQL '" + sql + "'", sqlEx);
Class: org.springframework.jdbc.support.SQLStateSQLExceptionTranslator ©, Rating: 0% of 0, C3
087 if (sqlState != null && sqlState.length() >= 2) {
088 String classCode = sqlState.substring(0, 2);
089 if (BAD_SQL_CODES.contains(classCode)) {
090 return new BadSqlGrammarException(task, sql, sqlEx);
091 }
Class: org.apache.batik.svggen.SVGCSSStyler ©, Rating: 0% of 0, C2
090 for(int i=0; i<nAttr; i++){
091 Attr attr = (Attr)attributes.item(i);
092 if(SVGStylingAttributes.set.contains(attr.getName())){
093 // System.out.println("Found new style attribute");
094 styleAttrBuffer.append(attr.getName());
Class: org.springframework.core.ConstantsTests ©, Rating: 0% of 0, C1
063 assertEquals(2, values.size());
064 assertTrue(values.contains(new Integer(1)));
065 assertTrue(values.contains(new Integer(2)));
066
067 assertEquals(c.toCode(new Integer(0), ""), "DOG");
Class: org.springframework.core.ConstantsTests ©, Rating: 0% of 0, C1
062 values = c.getValuesForProperty("myProperty");
063 assertEquals(2, values.size());
064 assertTrue(values.contains(new Integer(1)));
065 assertTrue(values.contains(new Integer(2)));
066
Class: org.springframework.core.ConstantsTests ©, Rating: 0% of 0, C1
058 values = c.getValues("D");
059 assertEquals(1, values.size());
060 assertTrue(values.contains(new Integer(0)));
061
062 values = c.getValuesForProperty("myProperty");
Class: org.springframework.core.ConstantsTests ©, Rating: 0% of 0, C1
054 assertTrue(values.contains(new Integer(0)));
055 assertTrue(values.contains(new Integer(66)));
056 assertTrue(values.contains(""));
057
058 values = c.getValues("D");