- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {ScheduledThreadPoolExecutor s =
new ScheduledThreadPoolExecutor(corePoolSize)
ThreadFactory threadFactory;new ScheduledThreadPoolExecutor(corePoolSize, threadFactory)
String str;new ScheduledThreadPoolExecutor(1, new ThreadFactoryBuilder().setNameFormat(str).build())
- Smart code suggestions by Codota
}
public void createCheckoutdir() throws IOException { File localDirectory = new File(pathToLocalRepos); if (!localDirectory.exists()) { boolean localDirectoryCreated = localDirectory.mkdir(); if (!localDirectoryCreated && log.isDebugEnabled()) { log.debug("Could not create directory " + localDirectory.getAbsolutePath()); } } checkoutdir = FileUtil.createTempDirectory("scm_", "", localDirectory); }
public static File createTemporaryDirectory(String prefix) { try { return FileUtil.createTempDirectory(prefix, null); } catch (IOException e) { throw new ApplicationTechnicalException("Could not create temporary directory", e); } } }
tmpDirectory = FileUtil.createTempDirectory("isis-simultation-", "-sendLog");
tmpDir = FileUtil.createTempDirectory( "extractRegionFromSimulation", ""); List<File> forZip = new ArrayList<File>(2);
throws SimulationException { try { File tmpDirectory = FileUtil.createTempDirectory( "isisfish-simulation-", "-preparation");
String simId = id + "_" + planNumber; param.setSimulationPlanNumber(planNumber); File tmpDirectory = FileUtil.createTempDirectory("isisfish-simulation-", "-preparation"); SimulationStorage sim = SimulationStorage.importAndRenameZip(tmpDirectory, job.getItem().getSimulationZip(), simId); sim.getParameter().setSimulationPlanNumber(planNumber);