content
stringlengths
40
137k
"public void fire() throws IllegalActionException {\n if (!_isInController()) {\n ERGModalModel modalModel = (ERGModalModel) getContainer();\n List<?> ergControllers = modalModel.entityList(ERGController.class);\n for (Object controllerObject : ergControllers) {\n ((ERGController) con...
"public JsonType visitDeclared(DeclaredType declaredType, Void o) {\n if (isJsonPrimitive(declaredType)) {\n return new JsonPrimitive(declaredType.toString());\n } else if (isInstanceOf(declaredType, Collection.class)) {\n if (declaredType.getTypeArguments().size() == 0) {\n return new Js...
"public HttpResponse executeHttpRequest(HttpRequestBase httpRequest) throws IOException {\n Logger.log(\"String_Node_Str\" + httpRequest.getURI().toString());\n if (headers != null && headers.length > 0) {\n httpRequest.setHeaders(headers);\n }\n try {\n mHttpClient.getConnectionManager().clos...
"public IValue withType(IType type, ITypeContext typeContext, MarkerList markers, IContext context) {\n if (type == Types.FLOAT) {\n return this;\n }\n if (type.isSuperTypeOf(Types.FLOAT)) {\n return new BoxedValue(this, Types.FLOAT.boxMethod);\n }\n if (type.getTheClass().getAnnotation(FLO...
"private void replacePickedExpressions(DimHQLContext sc) throws LensException {\n QueryAST queryAST = sc.getQueryAst();\n replaceAST(cubeql, queryAST.getSelectAST());\n if (sc.getStorageCandidate() != null) {\n replaceAST(cubeql, sc.getQueryAst().getWhereAST());\n } else {\n replaceAST(cubeql,...
"protected void onPostExecute(String token) {\n if (token != null) {\n ((OnRequestAccessTokenCompleteListener) mLocalListeners.get(REQUEST_ACCESS_TOKEN)).onRequestAccessTokenComplete(getID(), new AccessToken(token, null));\n } else {\n mLocalListeners.get(REQUEST_ACCESS_TOKEN).onError(getID(), REQUE...
"protected void createTabItem(String itemKey, String getItemIndex) {\n if (existTabItem(itemKey))\n return;\n CTabItem tabItem = new CTabItem(tabFolder, SWT.NONE, getItemIndex(precedingItemKey) + 1);\n tabItem.setText(itemKey);\n itemMap.put(tabItem, null);\n}\n"
"public Object parse(final CharSequence text, final ParsePosition pos) throws ParseException {\n if (parser == null) {\n if (factories == null) {\n factories = new HashMap<Class<?>, Factory>();\n }\n parser = new GeodeticObjectParser(symbols, (NumberFormat) getFormat(Number.class), (D...
"public boolean isMaster() {\n return getParent() != null && getParent().getTemplate() == this;\n}\n"
"public void onViewCreated(final View view, Bundle savedInstanceState) {\n ExpandingLayout anim = (ExpandingLayout) getActivity().findViewById(R.id.layoutDetails);\n anim.setAnimationBounds(mStartTop, mFinalTop, mStartBottom, mFinalBottom);\n super.onViewCreated(view, savedInstanceState);\n if (mListener !=...
"public static List getClasses(Comparator comp) {\n List classes = getMetaDataDictionary().getClasses();\n Collections.sort(classes, comp);\n classes.remove(TOTAL_CLASS);\n return classes;\n}\n"
"public static void resetPerspective() {\n boolean reset = false;\n IPath path = WorkbenchPlugin.getDefault().getDataLocation();\n if (path == null) {\n return;\n }\n final File stateFile = path.append(\"String_Node_Str\").toFile();\n final boolean stateExist = stateFile.exists();\n if (stat...
"void errorTasklet(final String workerId, final int taskletId, final Exception exception) {\n lock.lock();\n try {\n if (!terminated && runningWorkers.containsKey(workerId)) {\n final VortexWorkerManager worker = this.runningWorkers.get(workerId);\n final Tasklet tasklet = worker.task...
"private JSType supAndInfHelper(JSType that, boolean leastSuper) {\n if (isFunctionType() && that.isFunctionType()) {\n if (isEquivalentTo(that)) {\n return this;\n }\n FunctionType other = null;\n if (that instanceof FunctionType) {\n other = (FunctionType) that;\n ...
"private void createUser(String userName, String fullName, String emailAd, String password, String confirmPassword, boolean valid) {\n getSelenium().open(\"String_Node_Str\");\n clickButtonWithLocator(\"String_Node_Str\", true);\n assertCreateUserPage();\n setFieldValue(\"String_Node_Str\", userName);\n ...
"public void run() {\n ImageCardView cardView = (ImageCardView) target;\n if (picture != null && picture.getByteCount() > 4) {\n if (mediaLibraryItem.getArtworkMrl() != null && !mediaLibraryItem.getArtworkMrl().isEmpty())\n cardView.getMainImageView().setScaleType(ImageView.ScaleType.CENTER_CROP...
"public static <T> T toTagValue(Tag t, T defaultValue) {\n Object o = toTagValue(t);\n if (o == null) {\n return defaultValue;\n }\n try {\n T value = clazz.cast(o);\n return value;\n } catch (ClassCastException e) {\n return defaultValue;\n }\n}\n"
"public static void getChildLoops(List<TreeNode> loopNodes, List<? extends TreeNode> nodesToCheck, boolean addRoot, boolean onlyGetFirstLoop) {\n if (onlyGetFirstLoop) {\n if (!loopNodes.isEmpty()) {\n return;\n }\n }\n for (TreeNode node : nodesToCheck) {\n if (node.isLoop()) {...
"public void execute(IssuedCommand issuedCommand) {\n turnResult.turnLength = gameState.getHero().unequipWeapon();\n}\n"
"protected void goBackMonthCalendar(Proxy proxy) throws ParseException {\n panelGridCalendar.removeAll();\n panelGridCalendar.revalidate();\n panelGridCalendar.repaint();\n int i = 0;\n for (WeekDays wd : WeekDays.values()) {\n labelDay[i] = new JLabel(wd.toString(), SwingConstants.CENTER);\n ...
"public void setApplicationClassLoader(ClassLoader loader) {\n if (parent != null) {\n parent.setApplicationClassLoader(loader);\n } else {\n this.applicationClassLoader = loader;\n Collection<IScriptEngine> engineSet = engines.values();\n for (IScriptEngine engine : engineSet) {\n ...
"public CharPred substIn(CharPred p, UnaryCharIntervalSolver cs) {\n ImmutableList.Builder<ImmutablePair<Character, Character>> intervals = ImmutableList.builder();\n for (ImmutablePair<Character, Character> interval : checkNotNull(p).intervals) {\n long leftPrime = charSnap(interval.left + increment);\n ...
"public void testUserDefinedLookup() throws Exception {\n database = BabuDBFactory.createBabuDB(new BabuDBConfig(baseDir, baseDir, 1, 0, 0, SyncMode.SYNC_WRITE, 0, 0, compression, maxNumRecs, maxBlockFileSize, true, 0, Logging.LEVEL_DEBUG));\n Database db = database.getDatabaseManager().createDatabase(\"String_No...
"protected List<NodeEntity> findNodesToEnableLdap(ChunkContext chunkContext) throws TaskException {\n List<NodeEntity> foundNodeList = null;\n List<NodeEntity> nodesInGroup = null;\n List<NodeEntity> addNodes = new ArrayList<NodeEntity>();\n List<String> nodeGroupNames = null;\n String clusterName = getJ...
"private void becomeLeader() {\n LOG.warn(\"String_Node_Str\", myId, currentTerm);\n myState = State.LEADER;\n long myNextLog = log.getLastIndex() + 1;\n peersLastAckedIndex = new HashMap<>(peers.size());\n peersNextIndex = new HashMap<>(peers.size() - 1);\n for (long peer : peers) {\n if (peer...
"public Object run(SecurityService service) throws PropertyVetoException, TransactionFailure {\n for (MessageSecurityConfig msc : service.getMessageSecurityConfig()) {\n if (AUTH_LAYER.equals(msc.getAuthLayer())) {\n return null;\n }\n }\n MessageSecurityConfig msConfig = service.creat...
"public int getTableColumnForwardRefNumber(String tableName, String columnName) {\n Object tableInfo = this.tableInfos.get(tableName == null ? \"String_Node_Str\" : tableName.trim());\n if (tableInfo != null)\n return ((TableInfo) tableInfo).getForwardRefNumber(columnName == null ? \"String_Node_Str\" : co...
"public void onUpdateSelection(final int oldSelStart, final int oldSelEnd, final int newSelStart, final int newSelEnd, final int composingSpanStart, final int composingSpanEnd) {\n super.onUpdateSelection(oldSelStart, oldSelEnd, newSelStart, newSelEnd, composingSpanStart, composingSpanEnd);\n if (DEBUG) {\n ...
"protected void buildProperties(IContent content, LayoutContext context) {\n IStyle style = content.getComputedStyle();\n localProperties = new LocalProperties();\n int maw = parent.getMaxAvaWidth();\n localProperties.setMarginBottom(getDimensionValue(style.getProperty(IStyle.STYLE_MARGIN_BOTTOM), maw));\n ...
"private boolean onKeysSelected() {\n mToolbar.setTitle(R.string.app_name);\n Fragment frag = new KeyListFragment();\n setFragment(frag, false);\n}\n"
"public static void saveBinding(DataOutputStream dos, IBinding binding) throws DataException {\n int type = binding.getDataType();\n String name = binding.getBindingName();\n String function = binding.getAggrFunction();\n IBaseExpression expr = binding.getExpression();\n IBaseExpression filter = binding....
"public void dispose(boolean shuttingDown) {\n ChunkProvider chunkProvider = context.get(ChunkProvider.class);\n chunkProvider.dispose();\n boolean save = networkSystem.getMode().isAuthority();\n if (save) {\n storageManager.waitForCompletionOfPreviousSaveAndStartSaving();\n }\n networkSystem.s...
"public ServiceMeta get(String appId, String serviceId) throws IOException {\n URL url = config.resolveURL(String.format(\"String_Node_Str\", appId, serviceId));\n HttpResponse response = restClient.execute(HttpMethod.GET, url, config.getAccessToken());\n return ObjectResponse.fromJsonBody(response, ServiceMet...
"private HttpClient generateClient(Site site) {\n HttpParams params = new BasicHttpParams();\n params.setParameter(CoreProtocolPNames.USER_AGENT, site.getUserAgent());\n params.setIntParameter(CoreConnectionPNames.SO_TIMEOUT, 1000);\n params.setIntParameter(CoreConnectionPNames.CONNECTION_TIMEOUT, 2000);\n ...
"public void restoreSelection() {\n if (!lastSelectedItem.isPresent()) {\n if (!saveSelectionCalled) {\n throw new IllegalStateException(\"String_Node_Str\");\n } else {\n saveSelectionCalled = false;\n return;\n }\n }\n saveSelectionCalled = false;\n in...
"private void dispatch(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n try {\n request.setAttribute(org.apache.pluto.Constants.PORTLET_CONFIG, portletConfig);\n Integer method_id = (Integer) request.getAttribute(org.apache.pluto.Constants.METHOD_ID);\n...
"public void run() {\n DatagramPacket p = new DatagramPacket(buffer, 0, PACKET_RECEIVE_BUFFER_LENGTH);\n while (!closed) {\n try {\n if (OSUtils.IS_ANDROID)\n p.setLength(PACKET_RECEIVE_BUFFER_LENGTH);\n receivePacket(p);\n } catch (IOException e) {\n ...
"private synchronized void destroyTunnelNetwork(Connection conn, long networkId) {\n try {\n Network nw = findOrCreateTunnelNetwork(conn, key);\n String bridge = nw.getBridge(conn);\n String result = callHostPlugin(conn, \"String_Node_Str\", \"String_Node_Str\", \"String_Node_Str\", bridge);\n ...
"public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float sx, float sy, float sz) {\n WrenchUsage wrenchUsed = testWrenchUsage(x, y, z, player);\n if (wrenchUsed == WrenchUsage.NORMAL) {\n if (world.isRemote) {\n EndergenicTileEntity endergenicTileEn...
"protected <T extends VMInstanceVO> Ternary<T, ReservationContext, ItWorkVO> changeToStartState(VirtualMachineGuru<T> vmGuru, T vm, User caller, Account account) throws ConcurrentOperationException {\n long vmId = vm.getId();\n ItWorkVO work = new ItWorkVO(UUID.randomUUID().toString(), _nodeId, State.Starting, vm...
"public static Object min(Evaluator evaluator, List members, Calc calc) {\n SetWrapper sw = evaluateSet(evaluator, members, calc);\n if (sw.errorCount > 0) {\n return Double.NaN;\n } else {\n double min = Double.MAX_VALUE;\n for (int i = 0; i < sw.v.size(); i++) {\n double iValu...
"protected void removeDir(File d) {\n String[] list = d.list();\n if (list == null) {\n list = new String[0];\n }\n for (int i = 0; i < list.length; i++) {\n String s = list[i];\n File f = new File(d, s);\n if (f.isDirectory()) {\n removeDir(f);\n } else {\n ...
"protected void plotSymbol() {\n int xBlock, shortHeight, longHeight;\n double x, y, w, h;\n rectangles.clear();\n x = 0;\n w = 1;\n y = 0;\n h = 0;\n for (xBlock = 0; xBlock < pattern[0].length(); xBlock++) {\n switch(pattern[0].charAt(xBlock)) {\n case 'A':\n y...
"protected JFreeChart createChart() {\n CategoryAxis categoryAxis = new CategoryAxis();\n ValueAxis valueAxis = new NumberAxis();\n BarRenderer renderer = null;\n if (definition.isStacked()) {\n renderer = new StackedBarRenderer();\n } else {\n renderer = new BarRenderer();\n }\n Cate...
"private void scaleUp(int scalingAdjustment, int totalNodes) {\n String hostGroup = policy.getHostGroup();\n String ambari = cluster.getHost();\n AmbariAddressJson ambariAddressJson = new AmbariAddressJson();\n ambariAddressJson.setAmbariAddress(ambari);\n try {\n LOGGER.info(\"String_Node_Str\", ...
"private String createRedundantAssociativeRelationsQuery() {\n return SparqlPrefix.SKOS + \"String_Node_Str\" + \"String_Node_Str\" + vocabRepository.getVocabContext() + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_Str\" + \"String_Node_S...
"public void apply(SherlockActivity activity) {\n parseAttrs(activity);\n mInflater = LayoutInflater.from(activity);\n mActionBar = activity.getSupportActionBar();\n if (mActionBarBackgroundDrawable == null) {\n mActionBarBackgroundDrawable = activity.getResources().getDrawable(mActionBarBackgroundRe...
"public Map<String, List<MaterialContainer>> loadKits() {\n Map<String, List<MaterialContainer>> result = new HashMap<String, List<MaterialContainer>>();\n List<MaterialContainer> items = new ArrayList<MaterialContainer>();\n Configuration conf = getYml(\"String_Node_Str\");\n if (conf.getKeys(\"String_Node...
"public void start(Collection<? extends Location> locations) {\n super.start(locations);\n policy = new AbstractMembershipTrackingPolicy(MutableMap.of(\"String_Node_Str\", getName() + \"String_Node_Str\")) {\n protected void onEntityChange(Entity member) {\n }\n protected void onEntityAdded(E...
"public Set<SchemaTableTree> getRootSchemaTableTrees(SqlgGraph sqlgGraph) {\n Set<SchemaTableTree> result = new HashSet<>();\n List<HasContainer> hasContainerWithoutLabel = this.hasContainers.stream().filter(h -> !h.getKey().equals(T.label.getAccessor())).collect(Collectors.toList());\n List<HasContainer> hasC...
"public Quote getQuote(Symbol symbol) throws ProviderException {\n if (reached) {\n return null;\n }\n Date d = null;\n Quote q = null;\n do {\n try {\n q = qi.next();\n } catch (NoSuchElementException e) {\n this.reached = true;\n qi.close();\n ...
"public Collection<PluginEntry> visitType(final TypeElement e, final Plugin plugin) {\n final PluginAliases aliases = e.getAnnotation(PluginAliases.class);\n if (aliases == null) {\n return DEFAULT_VALUE;\n }\n final Collection<PluginEntry> entries = new ArrayList<PluginEntry>(aliases.value().length)...
"public void getScheduledRunTime(HttpRequest request, HttpResponder responder, String appId, String workflowId) {\n programLifecycleHttpHandler.getScheduledRunTime(RESTMigrationUtils.rewriteV2RequestToV3(request), responder, Constants.DEFAULT_NAMESPACE, appId, workflowId);\n}\n"
"public EventSink publish(Object message) {\n if (shutdown || channels.isEmpty()) {\n return this;\n }\n for (EventChannelName n : channelsForName.keySet()) {\n if (name.equals(n)) {\n name = n;\n break;\n }\n }\n long id = name == null ? count.getAndIncrement()...
"public void addToolBarContent() {\n SelectPathAction selectPathAction = new SelectPathAction(false, GLPathway.DEFAULT_PATHWAY_PATH_EVENT_SPACE);\n if (view instanceof GLPathway)\n ((GLPathway) view).setSelectPathAction(selectPathAction);\n toolBarManager.add(selectPathAction);\n toolBarManager.add(n...
"Traverser createTraverser(Order traversalOrder, NodeImpl node, RelationshipType[] types, Direction[] dirs, StopEvaluator stopEvaluator, ReturnableEvaluator returnableEvaluator) {\n return traverserFactory.createTraverser(traversalOrder, new NodeProxy((int) node.getId(), this), types, dirs, stopEvaluator, returnable...
"public boolean needsSemicolon() {\n if (definition) {\n return true;\n }\n return it.needsSemicolon();\n}\n"
"public void handleMessage(final Message msg) {\n switch(msg.what) {\n case MSG_WHAT_SEARCH:\n {\n SearchArg arg = (SearchArg) msg.obj;\n SearchReturn r = doSearch(arg);\n sendFeedDone(arg, r.r, r.err);\n }\n break;\n case MS...
"public SnapshotPolicyVO createPolicy(CreateSnapshotPolicyCmd cmd) {\n Long volumeId = cmd.getVolumeId();\n VolumeVO volume = _volsDao.findById(cmd.getVolumeId());\n if (volume == null) {\n throw new InvalidParameterValueException(\"String_Node_Str\" + volumeId);\n }\n _accountMgr.checkAccess(User...
"public void setPositiveConcept() {\n SortedSet<Individual> individuals = null;\n if (!aktuell.getRootObject().toString().equals(\"String_Node_Str\")) {\n for (Iterator<NamedClass> i = rs.getAtomicConcepts().iterator(); i.hasNext(); ) {\n if (individuals == null) {\n NamedClass co...
"public void register(final Task task, final Set<ChannelID> activeOutputChannels, final boolean hasAlreadyBeenDeployed) throws InsufficientResourcesException {\n checkBufferAvailability(task);\n final Environment environment = task.getEnvironment();\n final TaskContext taskContext = task.createTaskContext(this...
"protected void end(boolean finished) {\n context.getPageBufferManager().endContainer(content, finished, tableEmitter, true);\n}\n"
"public static File getSelectedFile(String extension, String description, DialogType type, boolean fixExtension) {\n JFileChooser chooser = new JFileChooser();\n FileNameExtensionFilter filter = new FileNameExtensionFilter(description, extension);\n chooser.setFileFilter(filter);\n int returnVal = 0;\n s...
"private java.util.List getCallableParamMetaData() {\n java.util.List paramMetaDataList = new ArrayList();\n try {\n DatabaseMetaData metaData = conn.getMetaData();\n String cataLog = conn.getCatalog();\n String schemaPattern = null;\n ArrayList schemaList = null;\n String colum...
"private void addHandleToReport(IDesignElement newElement, ModuleHandle currentDesignHandle) throws ContentException, NameException, SemanticException {\n DesignElementHandle newHandle = newElement.getHandle(currentDesignHandle.getModule());\n if (newContainer instanceof ThemeHandle) {\n currentDesignHandl...
"public Offset minus(Offset off2) {\n return new Offset(value - off2.value);\n}\n"
"private void initializePatterns(QrCode qr) {\n int[] where = patternLocations.alignment[qr.version];\n qr.alignment.reset();\n lookup.reset();\n for (int row = where.length - 1; row >= 0; row--) {\n for (int col = 0; col < where.length; col++) {\n boolean skip = false;\n if (ro...
"protected boolean isSameName(ImportItem importItem, IRepositoryViewObject repObject) {\n final Property property = importItem.getProperty();\n String currentLabel = null;\n if (repObject instanceof RepositoryViewObject) {\n RepositoryViewObject object = (RepositoryViewObject) repObject;\n curren...
"private void addTrapBoundary(Unit unit, Trap t, Map<Unit, List<Trap>> unitToTrapBoundaries) {\n List<Trap> boundary = unitToTrapBoundaries.get(unit);\n if (boundary == null) {\n boundary = new ArrayList<Trap>();\n unitToTrapBoundaries.put(unit, boundary);\n }\n boundary.add(t);\n}\n"
"public int runSortVcf(String input, String output) throws InterruptedException {\n String tool;\n if (bin.endsWith(\"String_Node_Str\"))\n tool = bin + PicardTools[4];\n else\n tool = bin + \"String_Node_Str\" + PicardTools[4];\n ArrayList<String> command = new ArrayList<>();\n command.add...
"public void varcharTest() {\n Invocation invocation = new Invocation(\"String_Node_Str\");\n invocation.setParameter(\"String_Node_Str\", \"String_Node_Str\");\n Operation op = xrService.getOperation(invocation.getName());\n Object result = op.invoke(xrService, invocation);\n assertNotNull(\"String_Node...
"public Response create(HashMap<String, String> data) {\n Response resp = deleteRemovedProperties(data);\n return (resp == null) ? saveProperties(data) : resp;\n}\n"
"public void test_delete_withValidInputArguments() throws Exception {\n positionA = positionDAO.create(positionA);\n Position returnValue2 = positionDAO.create(positionB);\n Position returnValue3 = positionDAO.create(positionC);\n assertTrue(positionDAO.delete(returnValue1));\n assertTrue(positionDAO.rea...
"public Field[] getFields() {\n return _getFields(true, false, true, true);\n}\n"
"protected void repeatHeader() {\n if (!isFirstLayout) {\n ITableContent table = (ITableContent) content;\n if (table.isHeaderRepeat()) {\n IBandContent header = table.getHeader();\n if (header != null) {\n boolean pageBreak = context.allowPageBreak();\n ...
"public boolean isSystem() {\n for (ServiceConfiguration config : Components.lookup(ClusterController.class).services()) {\n if (config.getHostName().equals(this.requestIp)) {\n return true;\n } else {\n db.commit();\n }\n } catch (Exception e) {\n LOG.debug(\"Str...
"private void fill(int nodes, ArrayList<ParentChild> pcs) {\n this.parent = Util.initIntArray(nodes, -1);\n this.children = new int[nodes][];\n this.depth = Util.initIntArray(nodes, -1);\n this.src = -1;\n int[] counter = new int[nodes];\n for (ParentChild pc : pcs) {\n this.parent[pc.getChild(...
"public void testSmoke() throws Exception {\n addSnippetClassDecl(\"String_Node_Str\");\n addSnippetClassDecl(\"String_Node_Str\");\n addSnippetClassDecl(\"String_Node_Str\");\n addSnippetClassDecl(\"String_Node_Str\");\n addSnippetClassDecl(\"String_Node_Str\" + \"String_Node_Str\");\n addSnippetClas...
"public static void readConstructorType(String desc, IConstructor constructor) {\n int i = 1;\n while (desc.charAt(i) != ')') {\n i = readTyped(desc, i, constructor::addType);\n }\n i += 2;\n int len = desc.length();\n while (i < len && desc.charAt(i) == '^') {\n i = readException(desc, ...
"public void refresh() {\n if (ready && v != null && getView() != null) {\n txtStand.setText(v.getTage().get(0).getStand());\n listadapter.clear();\n klasse = (String) klassen.getSelectedItem();\n for (VertretungsplanTag tag : v.getTage()) {\n listadapter.addSeparatorItem(tag.g...
"public void start(boolean checkWorlds) {\n if (!connnect()) {\n return;\n }\n SpoutClientSession get = session.get();\n get.send(true, true, get.getProtocol().getIntroductionMessage(getPlayer().getName(), (InetSocketAddress) get.getChannel().getRemoteAddress()));\n worldChanged(\"String_Node_Str\...
"private boolean createNewLogFile() {\n if (!outputDirectory.exists() || !outputDirectory.isDirectory()) {\n new RobobuggyLogicNotification(\"String_Node_Str\", RobobuggyMessageLevel.EXCEPTION);\n return false;\n }\n outputFile = new File(outputDirectory.getPath() + \"String_Node_Str\" + Robobugg...
"public String getContents() {\n ArrayList list = new ArrayList();\n list.addAll(((SlotDefn) defn).getContentElements());\n Collections.sort(list, new ElementComparator());\n Iterator iter = list.iterator();\n StringBuffer contents = new StringBuffer();\n while (iter.hasNext()) {\n ElementDefn ...
"public void close() throws IOException {\n boolean deleteFailed = false;\n if (keyFile != null)\n deleteFailed = keyFile.delete();\n if (!deleteFailed)\n throw new IOException(\"String_Node_Str\" + keyFile.getAbsolutePath());\n if (item != null)\n item.delete();\n }\n}\n"
"public void setTargetDatabase(Database targetDb) {\n this.cdmDb = targetDb;\n}\n"
"public void createBackups() throws Exception {\n createLucene();\n}\n"
"public static void writeAIP(Context context, Item item, String dest) throws SQLException, IOException, AuthorizeException, MetsException {\n System.out.println(\"String_Node_Str\" + item.getHandle());\n java.io.File aipDir = new java.io.File(dest + URLEncoder.encode(\"String_Node_Str\" + item.getHandle(), \"Stri...
"public void mouseDoubleClick(MouseEvent e) {\n TreeItem[] selection = tree.getSelection();\n if (selection.length == 0) {\n return;\n }\n TreeItem item = selection[0];\n if (item != null) {\n Object indicatorobj = item.getData(INDICATOR_UNIT_KEY);\n Object columnobj = item.getData(C...
"public String generateFMIMA() throws IllegalActionException {\n StringBuffer code = new StringBuffer();\n NamedProgramCodeGeneratorAdapter adapter = (NamedProgramCodeGeneratorAdapter) getAdapter(getComponent());\n Iterator<?> actors = ((CompositeActor) adapter.getComponent().getContainer()).deepEntityList().i...
"public void init(IEditorSite site, IEditorInput editorInput) throws PartInitException {\n setSite(site);\n setInput(editorInput);\n site.setSelectionProvider(new MultiPageTalendSelectionProvider(this));\n getSite().getWorkbenchWindow().getSelectionService().addSelectionListener(this);\n IRepositoryServi...
"public void doInit(TwillContext context) {\n LOG.info(\"String_Node_Str\", name);\n System.setProperty(\"String_Node_Str\", new File(System.getProperty(\"String_Node_Str\")).getAbsolutePath());\n try {\n LOG.info(\"String_Node_Str\", name, context.getHost().getCanonicalHostName());\n getCConfigu...
"public NBTTagCompound nbtSyncForClient(NBTTagCompound nbt) {\n nbt.setDouble(\"String_Node_Str\", pos.xCoord);\n nbt.setDouble(\"String_Node_Str\", pos.yCoord);\n nbt.setDouble(\"String_Node_Str\", pos.zCoord);\n nbt.setLong(\"String_Node_Str\", ID);\n nbt.setInteger(\"String_Node_Str\", size);\n nbt...
"public void updateSelection() {\n boolean selectAll = false;\n boolean unSelect = false;\n boolean toggleSelection = false;\n for (int i = 0; i < plots.size(); i++) {\n if (plots.elementAt(i).selectAll) {\n plots.elementAt(i).selectAll = false;\n selectAll = true;\n }\n ...
"public static void main(String[] args) {\n try {\n File fParam = new File(args[0]);\n File fOrigin = new File(\"String_Node_Str\");\n File fDest = new File(\"String_Node_Str\");\n TestTransformMain.copyFile(fParam, fOrigin);\n new TransformSound(new PrintlnTransformObserver()).tra...
"final void activityPaused(IBinder token, Bundle icicle, boolean timeout) {\n if (DEBUG_PAUSE)\n Log.v(TAG, \"String_Node_Str\" + token + \"String_Node_Str\" + icicle + \"String_Node_Str\" + timeout);\n HistoryRecord r = null;\n synchronized (this) {\n int index = indexOfTokenLocked(token);\n ...
"private static void addToModulesMap(Module module, String name) {\n if (!linkedModulesMap.containsKey(name))\n linkedModulesMap.put(name, new HashSet<>());\n linkedModulesMap.get(name).add(module);\n}\n"
"public boolean finishAnimationLw() {\n return false;\n}\n"
"public void start(boolean isRcpAccessible) {\n m_isRcpAccessible = isRcpAccessible;\n try {\n IRegisterAut autReg = parseAutReg();\n if (autReg == null) {\n String errorMessage = \"String_Node_Str\";\n log.error(errorMessage);\n sendExitReason(errorMessage, AUTServe...
"private Verse readPassageOsis(Key key, RawTextToXmlProcessor processor, final List<Content> content, T openFileState) throws BookException {\n Verse currentVerse = null;\n try {\n final Passage ref = KeyUtil.getPassage(key);\n final Iterator<Key> rit = ref.rangeIterator(RestrictionType.CHAPTER);\n ...
"public static void setupDataFabric() {\n final Injector injector = Guice.createInjector(new DataFabricModules().getInMemoryModules());\n opex = injector.getInstance(OperationExecutor.class);\n fabric = new DataFabricImpl(opex, OperationUtil.DEFAULT);\n}\n"