java.lang.SecurityException: class "org.hamcrest.TypeSafeMatcher"'s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(ClassLoader.java:851)
at java.lang.ClassLoader.preDefineClass(ClassLoader.java:566)
at java.lang.ClassLoader.defineClass(ClassLoader.java:692)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
Discussions of things technical and agile and software and people and management.
About Me
Sunday, December 27, 2009
An interesting discovery today. I upg...
Friday, January 23, 2009
Dumbness!
Check-Style is Mental Retardation
1: package format.test;
2:
3: import java.lang.*;
4: import format.util.*;
5:
6: abstract public class CheckstyleHatesThisClass {
7: public final static String regex = "\\(.*";
8: public final String terminal = ConstantInjector.fetch("hate.terminal");
9:
10: abstract public String getDataString();
11:
12: final public String return_parenthetic_part() {
13: final String target = getDataString();
14: if ( target.matches(regex) ) {
15: return SlicerDicer.extract(regex,terminal,target);
16: } else {
17: return "";
18: }
19: }
20: }
Begets the following list of complaints from check style;
- line="3" severity="error" message="Using the '.*' form of import should be avoided - java.lang.*."
- line="3" column="1" severity="error" message="Redundant import from the java.lang package - java.lang.*."
- line="4" severity="error" message="Using the '.*' form of import should be avoided - format.util.*."
- line="6" column="10" severity="error" message="'public' modifier out of order with the JLS suggestions."
- line="7" column="18" severity="error" message="'static' modifier out of order with the JLS suggestions."
- line="7" column="32" severity="error" message="Name 'regex' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'."
- line="10" column="14" severity="error" message="'public' modifier out of order with the JLS suggestions."
- line="12" column="11" severity="error" message="'public' modifier out of order with the JLS suggestions."
- line="12" column="25" severity="error" message="Name 'return_parenthetic_part' must match pattern '^[a-z][a-zA-Z0-9]*_?[a-zA-Z0-9]*$'."
- line="13" column="22" severity="error" message="Name 'target' must match pattern '^([A-Z0-9]*_?)*$'."
- line="14" column="18" severity="error" message="'(' is followed by whitespace."
- line="14" column="40" severity="error" message="')' is preceded with whitespace."
- line="15" column="51" severity="error" message="',' is not followed by whitespace."
- line="15" column="60" severity="error" message="',' is not followed by whitespace."
- line="16" column="14" severity="error" message="'}' should be alone on a line."
Saturday, May 3, 2008
Partitionability
Partitionability describes the degree to which something can be functionally decomposed. The partitionability of a process, algorithm, or function is determined by the refinement of a design. The partitionability directly correlates to the number of distinct atomic tasks required to complete the implementation of the process, algorithm, or function.
Partitionability is used when estimating the man-time requirements for implementation. For example, some functionality X requires 22 man-hours to complete. X can be decomposed into 5 distinct component parts (its partitionability is 5). Optimally, X can be completed in 22 / 5 = 4.4 hours by a team of 5 developers. Stated formulaically;
To = Tm / P
Where To = Optimal Time, Tm = Man-Time, and P = Partitionability