Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
uschindler committed Jun 15, 2016
1 parent 7f5c4e0 commit c9166f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (project.plugins.withType(JavaBasePlugin.class).isEmpty()) {
throw new PluginInstantiationException('Forbidden-apis only works in projects using the java plugin.');
}

// chck if running in Gradle Daemon?
// check if running in Gradle Daemon?
// see: http://stackoverflow.com/questions/23265217/how-to-know-whether-you-are-running-inside-a-gradle-daemon
boolean isGradleDaemon = System.getProperty('sun.java.command', '').startsWith('org.gradle.launcher.daemon.') ||
Thread.currentThread().stackTrace.any { it.className.startsWith 'org.gradle.launcher.daemon.' };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
public final class CheckerStaticTest {

@Test
public void testTragetVersionFix() throws Exception {
public void testTargetVersionFix() throws Exception {
assertEquals("jdk-dummy-1.7", Checker.fixTargetVersion("jdk-dummy-1.7"));
assertEquals("jdk-dummy-1.7", Checker.fixTargetVersion("jdk-dummy-7"));
assertEquals("jdk-dummy-1.7", Checker.fixTargetVersion("jdk-dummy-7.0"));
Expand Down

0 comments on commit c9166f3

Please sign in to comment.