You are a {SPECIES} living in a large forest. After loosing your parents to a fur trader your in search of human retribution.
Talents:
- Scariness
- Cuteness
- Trickery
- Fighting
- Breeding
public class IntelliBadLineContinuationTest { | |
@Test | |
public void testBlah() throws Exception { | |
//ok not so bad | |
asList("a") | |
.get(0) | |
.toString(); | |
//ok | |
asList( |
package main | |
import "fmt" | |
type ThreadConfig struct { | |
MaxThreads int | |
CorePoolSize int | |
Consumers int | |
TxSize int | |
QueueSize int |
You are a {SPECIES} living in a large forest. After loosing your parents to a fur trader your in search of human retribution.
Talents:
package com.snaphop.jaxws; | |
import static java.util.Arrays.asList; | |
import java.net.URL; | |
import java.util.Collection; | |
import java.util.Collections; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.ServiceLoader; |
MAVEN_REPO=/home/maven/repo/release | |
PACKAGES="com/snaphop/snaphopsuite-web com/snaphop/snaphop-ats-web" | |
for p in $PACKAGES; do | |
PACKAGE=$MAVEN_REPO/$p | |
echo "Truncating $p" |
import static java.util.Arrays.asList; | |
import static org.springframework.util.StringUtils.hasText; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.List; | |
import javax.servlet.ServletContext; | |
import org.slf4j.Logger; |
import java.util.ArrayList; | |
import java.util.List; | |
import javax.xml.bind.annotation.XmlAttribute; | |
import javax.xml.bind.annotation.XmlElement; | |
import javax.xml.bind.annotation.XmlRootElement; | |
import javax.xml.bind.annotation.XmlValue; | |
@XmlRootElement(name="testsuites") |
package com.snaphop.spring; | |
import java.io.IOException; | |
import javax.servlet.FilterChain; | |
import javax.servlet.ServletException; | |
import javax.servlet.http.HttpServletRequest; | |
import javax.servlet.http.HttpServletResponse; | |
import org.springframework.http.MediaType; |
public class ExampleController { | |
@RequestMapping(value = {"/blah", ""}) | |
public @ResponseBody Map<String, Object> blah(@Valid Blah blah, BindingResult errors, ModelMap model) { | |
if (errors.hasErrors()) { | |
return ModelUtils.mapBuilder().put("status", "errors").build(); | |
} | |
return ModelUtils.mapBuilder().put("status", blah.getFirst() + " " + blah.getLast()).build(); | |
} | |
public static class Blah { |
public class ResourceUtils { | |
private final static Supplier<Cache<ClasspathResourceKey, String>> cacheSupplier = | |
Suppliers.memoize(new Supplier<Cache<ClasspathResourceKey, String>>() { | |
@Override | |
public Cache<ClasspathResourceKey, String> get() { | |
return CacheBuilder.newBuilder().maximumSize(100).expireAfterAccess(10000, TimeUnit.SECONDS).build(); | |
} | |
}); | |