Skip to content

Instantly share code, notes, and snippets.

Stephan Esch maplesteve

Block or report user

Report or block maplesteve

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@maplesteve
maplesteve / UnnecessaryNilTest.m
Last active Dec 28, 2015
Testcase for possible OClint false positive. Fails in test cases #5 and #7.
View UnnecessaryNilTest.m
//
// UnnecessaryNilTest.m
//
#import <XCTest/XCTest.h>
@interface MySender : NSObject
- (BOOL)returnNO;
- (BOOL)returnYES;
@end
@maplesteve
maplesteve / build.xml
Created Mar 10, 2013
Sample build.xml to use oclint for PMD analysis in Jenkins. See the post mentioned in the first comment for details.
View build.xml
<?xml version="1.0" encoding="UTF-8"?>
<project name="fooProject" default="build-fooProject">
<property environment="env"/>
<target name="build-fooProject" depends="prepare,oclint" />
<target name="clean" description="Cleanup build artifacts">
<delete dir="${basedir}/build/oclint" />
</target>
You can’t perform that action at this time.