content stringlengths 40 137k |
|---|
"IOdaDataSetDesign newOdaDataSet(OdaDataSetHandle modelDataSet, ExecutionContext context) throws BirtException {\n OdaDataSetDesign dteDataSet = new OdaDataSetDesign(modelDataSet.getQualifiedName());\n IBaseDataSetEventHandler eventHandler = new DataSetScriptExecutor(modelDataSet, context);\n dteDataSet.setEve... |
"protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n installer = new DefaultInstaller(this);\n Intent intent = getIntent();\n String action = intent.getAction();\n switch(action) {\n case ACTION_INSTALL_PACKAGE:\n {\n installUri = ... |
"public void shutdown() {\n close();\n}\n"
|
"public boolean exists(int id) {\n Cursor c = helper.getHandle().query(table, new String[] { DatabaseHelper.ID_COL }, DatabaseHelper.ID_COL + \"String_Node_Str\", new String[] { String.valueOf(id) }, null, null, null);\n try {\n int queryCount = c.getCount();\n if (queryCount == 0) {\n re... |
"protected boolean existDropCells() {\n if (unresolvedRow != null) {\n for (int i = 0; i < columnNumber; i++) {\n CellArea cell = unresolvedRow.getCell(start + i);\n if (cell != null && isDropCell(cell)) {\n return true;\n }\n }\n }\n return false;\... |
"double calculateHypervolumeIndicator(Solution solutionA, Solution solutionB, int d, double[] maximumValues, double[] minimumValues) {\n double a, b, r, max;\n double volume = 0;\n double rho = 2.0;\n r = rho * (maximumValues[d - 1] - minimumValues[d - 1]);\n max = minimumValues[d - 1] + r;\n a = solu... |
"private void analyzeResponse(AttackData data, SentinelHttpMessageAtk httpMessage) {\n boolean hasXss = false;\n boolean hasInput = false;\n String message = \"String_Node_Str\";\n switch(state) {\n case 0:\n origTidyMsgs = util.Beautifier.getInstance().analyze(httpMessage.getRes().extract... |
"public void renderGraphLabels(Graph graph) {\n for (UnidirectionalEdge e : graph.getUnidirectionalEdges()) {\n if (!e.isCurved()) {\n if (e.showLabel() && e.hasLabel() && e.getLabel().getFont() != null) {\n renderEdgeLabel(e.getLabel());\n }\n if (e.showMiniLab... |
"public User login(String email, String password) throws SQLException {\n User user = QueryBuilder.create(dataSource, getQuery(\"String_Node_Str\")).setString(\"String_Node_Str\", email).executeQuerySingle(new User());\n if (user != null && user.isPasswordValid(password)) {\n return user;\n } else {\n ... |
"public void onClick(ClickEvent event) {\n artifactDialog = new ArtifactDialogBox(riksPane, listOfProjectArtifacts, listOfArtifactsMappedToRequirement, messages.associateArtifacts());\n artifactDialog.setModal(true);\n artifactDialog.center();\n artifactDialog.show();\n currentDialog = \"String_Node_Str\... |
"protected int makeArgument(FakeRootMethod m, int i, WarningSet warnings) {\n TypeReference[] p = getParameterTypes(i);\n if (p.length == 0) {\n return -1;\n } else if (p.length == 1) {\n SSANewInstruction n = m.addAllocation(p[0], warnings);\n return (n == null) ? -1 : n.getDef();\n } ... |
"public void storeAccount(ProtocolProviderFactory factory, AccountID accountID) {\n ConfigurationService configurationService = getConfigurationService();\n String factoryPackage = getFactoryImplPackageName(factory);\n List<String> storedAccounts = configurationService.getPropertyNamesByPrefix(factoryPackage, ... |
"private void evalEncoding(Method method, Encoding dftEncoding) {\n Encoding encoding = method.getAnnotation(Encoding.class);\n if (null == encoding)\n encoding = dftEncoding;\n if (null == encoding) {\n inputCharset = org.nutz.lang.Encoding.UTF8;\n outputCharset = org.nutz.lang.Encoding.U... |
"public Row next() {\n final Map.Entry e = core.next();\n final Row row = new Row(columns());\n if (!(AbstractMarshallable.class.isAssignableFrom(keyType())))\n row.set(\"String_Node_Str\", e.getKey());\n else\n throw new UnsupportedOperationException(\"String_Node_Str\");\n if (!(AbstractM... |
"private Response executeNamedNativeQuery(HttpHeaders headers, UriInfo info) {\n String entityClassName = info.getPathParameters().getFirst(\"String_Node_Str\");\n String namedNativeQueryName = info.getPathParameters().getFirst(\"String_Node_Str\");\n String sessionToken = headers.getRequestHeader(Constants.SE... |
"public void handleEvent(Event e) {\n TableItem item = (TableItem) e.item;\n int whiteIndex = requested.getWhiteIndex(table.indexOf(item), false);\n int index = requested.getIndex(whiteIndex, Barcode.WHITE);\n requested.setBlack(index, 1);\n renderTableItem(item, source.get(index), index);\n}\n"
|
"public void openEditor(Item item) {\n TDQPatternItem patternItem = (TDQPatternItem) item;\n String subfolderPath = patternItem.getState().getPath();\n String folderPath = ResourceManager.getIndicatorFolder().getFullPath().toString();\n Path path = new Path(folderPath);\n Path append = (Path) path.append... |
"public static String computeStrongName(byte[] content) {\n MessageDigest md5;\n try {\n md5 = MessageDigest.getInstance(\"String_Node_Str\");\n } catch (NoSuchAlgorithmException e) {\n throw new RuntimeException(\"String_Node_Str\", e);\n }\n md5.update(content);\n return toHexString(md... |
"private void writeDirectoryCatalog(final Path catPath, final FileSystem fs) throws IOException {\n final Writer writer = new OutputStreamWriter(fs.create(catPath), Globals.DEFAULT_FILE_ENCODING);\n final Path basePath = new Path(getContext().getBasePathname());\n final FileSystem baseFs = basePath.getFileSyst... |
"protected CharSequence preparePreferenceSummary(CharSequence value, int resId) {\n CharSequence summary = null;\n if (resId != 0)\n summary = getString(resId);\n if (value != null && value.length() > 0)\n return HtmlUtil.fromHtml(\"String_Node_Str\" + value.toString() + \"String_Node_Str\" + Str... |
"public FlowScope getPreciserScopeKnowingConditionOutcome(Node condition, FlowScope blindScope, boolean outcome) {\n if (condition.getType() == CALL && condition.getChildCount() == 2) {\n Node callee = condition.getFirstChild();\n Node param = condition.getLastChild();\n if (callee.getType() == ... |
"public static org.hl7.fhir.dstu2016may.model.SearchParameter convertSearchParameter(org.hl7.fhir.dstu3.model.SearchParameter src) throws FHIRException {\n if (src == null || src.isEmpty())\n return null;\n org.hl7.fhir.dstu2016may.model.SearchParameter tgt = new org.hl7.fhir.dstu2016may.model.SearchParame... |
"public String getWrapperSqlString() {\n StringBuilder sb = new StringBuilder();\n String tableAlias = \"String_Node_Str\";\n sb.append(SQL_BEGIN);\n sb.append(TAB).append(SELECT).append(SPACE).append(tableAlias).append(DOT).append(STAR).append(SPACE).append(FROM).append(RETURN);\n sb.append(TAB).append(... |
"public Date getLastLoginDate() {\n return lastLoginDate == null ? null : new Date(lastLoginDate.getTime());\n}\n"
|
"protected synchronized void onScreenStateChanged() {\n if (mUseColorAdjustment) {\n if (mAnimator != null && mAnimator.isRunning() && !isScreenOn()) {\n mAnimator.cancel();\n } else if (isScreenOn()) {\n updateColorAdjustment();\n mDirty = false;\n }\n }\n}\n... |
"public static String calcFingerprint(byte[] key) {\n String ret = null;\n try {\n MessageDigest digest = MessageDigest.getInstance(\"String_Node_Str\");\n digest.update(key);\n byte[] fingerprint = digest.digest();\n Formatter formatter = new Formatter(new StringBuilder());\n f... |
"public void mouseDragged() {\n for (Map map : maps) {\n if (map.isHit(mouseX, mouseY)) {\n log.debug(\"String_Node_Str\" + map.getId());\n PVector center = map.getScreenCenter();\n PVector mouse = new PVector(mouseX, mouseY);\n PVector pmouse = new PVector(pmouseX,... |
"protected void visitRawTextNode(RawTextNode node) {\n currentRawTextNode = node;\n currentRawText = node.getRawText();\n currentRawTextOffset = 0;\n currentRawTextIndex = 0;\n while (currentRawTextIndex < currentRawText.length()) {\n int startIndex = currentRawTextIndex;\n if (startIndex !... |
"public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {\n HttpServletRequest r = (HttpServletRequest) request;\n retrievedUsername = r.getHeader(forwardedUser);\n Authentication auth = Hudson.ANONYMOUS;\n if (retrievedUsername != null... |
"public int size() throws TemplateModelException {\n try {\n return firedEntireInputMatcher.groupCount() + 1;\n } catch (Exception e) {\n throw new _TemplateModelException(e);\n }\n}\n"
|
"public String getRulefunctions() throws paloexception {\n List<NameValuePair> qparams = new ArrayList<NameValuePair>();\n qparams.add(new BasicNameValuePair(\"String_Node_Str\", getPaloToken()));\n try {\n StringBuilder sb = new StringBuilder();\n HttpEntity entity = sendToServer(qparams, \"Stri... |
"private long getNextEventTime() {\n return nextSubtitleEventIndex == C.INDEX_UNSET || nextSubtitleEventIndex >= subtitle.getEventTimeCount() ? Long.MAX_VALUE : subtitle.getEventTime(nextSubtitleEventIndex);\n}\n"
|
"public void processLoggedFiles(final LoggedUpdateProcessor loggedUpdateProcessor) {\n try {\n DirectoryStream<Path> updateLogFolders = Files.newDirectoryStream(dailyLogFolder, new DirectoryStream.Filter<Path>() {\n public boolean accept(Path entry) throws IOException {\n if (Files.i... |
"public void beforeInvocation(IInvokedMethod method, ITestResult testResult) {\n try {\n if (ListenerManager.executeCurrentMethod(this) == false) {\n logger.exiting(ListenerManager.THREAD_EXCLUSION_MSG);\n return;\n }\n }\n}\n"
|
"protected Control createDialogArea(Composite parent) {\n Composite composite = new Composite(parent, SWT.NONE);\n GridLayout layout = new GridLayout();\n layout.marginHeight = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_MARGIN);\n layout.marginWidth = convertHorizontalDLUsToPixels(IDialogConstant... |
"public IResultSet executeQuery() throws OdaException {\n logger.logp(java.util.logging.Level.FINE, CallStatement.class.getName(), \"String_Node_Str\", \"String_Node_Str\");\n if (this.cachedResultSet != null) {\n IResultSet ret = this.cachedResultSet;\n this.cachedResultSet = null;\n return ... |
"public synchronized void startService() {\n if (isServiceBinded && !isConnected) {\n startOpeneCardService();\n } else if (!isServiceBinded) {\n Intent i = createOpeneCardIntent();\n LOG.info(\"String_Node_Str\");\n ctx.startService(i);\n LOG.info(\"String_Node_Str\");\n ... |
"private void checkTableNameAndScrubResultColumns(ResultColumnList rcl) throws StandardException {\n for (ResultColumn column : rcl) {\n boolean foundMatchingTable = false;\n if ((column.getTableName() != null) && (!inMatchingClause())) {\n for (ResultSetNode rsn : ((SelectNode) resultSet).f... |
"public void propertyChange(IAnnotationPropertyChangeEvent e) {\n String text = domainNode.getAttribute().getDisplayedContent();\n getFigureController().setBindString(LABEL_TEXT, text);\n Dimension textExtent = MIN_LABEL_SIZE;\n if (!text.isEmpty()) {\n textExtent = handleGetTextBounds(text);\n }\... |
"private void initProject() {\n writeVerbose(\"String_Node_Str\" + parameters);\n String projectPath = \"String_Node_Str\";\n if ((parameters != null) && !parameters.isEmpty()) {\n for (String path : parameters) {\n if ((path != null) && !path.startsWith(\"String_Node_Str\") && !path.startsWi... |
"protected void deleteRecordFromCounterColumnFamily(Object pKey, EntityMetadata metadata, ConsistencyLevel consistencyLevel) {\n ColumnPath path = new ColumnPath(metadata.getTableName());\n Cassandra.Client conn = null;\n Object pooledConnection = null;\n try {\n pooledConnection = getConection();\n ... |
"public void testSingleStep() {\n doTestSingleStep(Decimal64Field.getInstance(), 6.0e-12);\n}\n"
|
"public boolean apply(Game game, Ability source) {\n Player controller = game.getPlayer(source.getControllerId());\n if (controller == null) {\n return false;\n }\n StackObject spell = null;\n for (StackObject object : game.getStack()) {\n if (object instanceof Spell && object.getSourceId()... |
"private void addExtendedInternal(long vis, CppClass extended) throws CppDuplicateException {\n if (containsExtended(extended)) {\n throw new CppDuplicateException(\"String_Node_Str\" + extended.getName() + \"String_Node_Str\");\n }\n if (this.extendeds_string.contains(extended.getName())) {\n th... |
"public void testMouseMoveListener() {\n TagCloud cloud = new TagCloud(composite, SWT.NONE);\n List<Word> words = new ArrayList<Word>();\n Word word = getWord();\n words.add(word);\n cloud.setWords(words, null);\n Event e = new Event();\n e.x = word.x;\n e.y = word.y;\n UniversalListener ml =... |
"public void setCurrentEditObject(Object obj) {\n this.currentEditObject = obj;\n removeTreeItem();\n}\n"
|
"public boolean onLeftClickEntity(ItemStack itemStack, EntityPlayer player, Entity entity) {\n System.out.println(\"String_Node_Str\" + this.getEnergy(itemStack));\n if (this.getEnergy(itemStack) >= energyCost) {\n if (entity instanceof EntityExplosive) {\n if (!entity.worldObj.isRemote) {\n ... |
"public Answer dettachVolume(final DettachCommand cmd) {\n final DiskTO disk = cmd.getDisk();\n final VolumeObjectTO vol = (VolumeObjectTO) disk.getData();\n final PrimaryDataStoreTO primaryStore = (PrimaryDataStoreTO) vol.getDataStore();\n final String vmName = cmd.getVmName();\n final String serial = r... |
"public void createPreviewCharts(final ScrolledForm form, final Composite composite, final boolean isCreate) {\n for (final ColumnIndicator columnIndicator : this.treeViewer.getColumnIndicator()) {\n final TdColumn column = columnIndicator.getTdColumn();\n ExpandableComposite exComp = toolkit.createExp... |
"private void saveProp(String param) {\n final Intent intent = new Intent();\n switch(mEditType) {\n case PROP_TYPE_ACCOUNT_NAME:\n intent.putExtra(IntentConstant.EDIT_ACCOUNT_NAME, param);\n if (mAccountID > 0) {\n accountManager.updateAccountName(mAccountID, param, ne... |
"public void run() {\n try {\n if (pp.getRegistrationState().equals(RegistrationState.UNREGISTERING) || pp.getRegistrationState().equals(RegistrationState.UNREGISTERED) || pp.getRegistrationState().equals(RegistrationState.CONNECTION_FAILED)) {\n if (reconnect) {\n if (listener != nu... |
"public int hashCode() {\n int code = 0;\n for (int i = 0; i < StyleConstant.COUNT; i++) {\n String value = props[i] == null ? NULL : props[i];\n code += value.hashCode() * 2 + 1;\n if (Integer.MAX_VALUE == code) {\n break;\n }\n }\n return code;\n}\n"
|
"public void handleStateChange(ChatRoomSession chatRoomSession, ChatSessionState oldChatSessionState, ChatSessionState newChatSessionState) {\n if (logger.isDebugEnabled())\n logger.debug(\"String_Node_Str\" + newChatSessionState);\n if (chatInvitation == null && newChatSessionState.equals(ChatSessionState... |
"public void mousePressed(MouseEvent e) {\n stopAnnotations();\n if (!playing) {\n wwd.getInputHandler().removeMouseListener(this);\n }\n}\n"
|
"private void promoteGlobals(IJstType type, JstTypeSpaceMgr mgr, ResolutionResult rr) {\n if (type.hasGlobalVars()) {\n ITypeSpace<IJstType, IJstNode> typeSpace = mgr.getTypeSpace();\n boolean error = false;\n if (type instanceof JstType) {\n JstType type2 = (JstType) type;\n ... |
"public void initialize() {\n String shapeFile = config.getString(Conf.MAP_MATCHER_SHAPEFILE);\n latMin = config.getDouble(Conf.MAP_MATCHER_LAT_MIN);\n latMax = config.getDouble(Conf.MAP_MATCHER_LAT_MAX);\n lonMin = config.getDouble(Conf.MAP_MATCHER_LON_MIN);\n lonMax = config.getDouble(Conf.MAP_MATCHER_... |
"private static Locale[] getSupportedLocales() {\n String[] ll = new DSpace().getConfigurationService().getArrayProperty(\"String_Node_Str\");\n if (ll != null && ll.length > 0) {\n return I18nUtil.parseLocales(ll);\n } else {\n Locale[] result = new Locale[1];\n result[0] = I18nUtil.DEFAU... |
"public void sendPrivateMessageToUser(User touser, String msg) {\n try {\n forwardMsgTo(touser.getID(), SharedObjectMsg.createMsg(null, HANDLE_SHOW_PRIVATE_TEXT_MSG, localUser, msg));\n } catch (final Exception e) {\n log(\"String_Node_Str\", e);\n }\n}\n"
|
"public String getSuccessLogMessage() {\n if (logSuccessMessage != null) {\n return logSuccessMessage;\n }\n String TOrecipients = \"String_Node_Str\";\n for (InternetAddress address : to) {\n if (recipients.length() != 0)\n recipients += \"String_Node_Str\";\n if (address.ge... |
"protected void onFailure(final APIFailureType type) {\n final RRError error = General.getGeneralErrorForFailure(context, type);\n AndroidApi.UI_THREAD_HANDLER.post(new Runnable() {\n\n public void run() {\n General.showResultDialog(InboxListingActivity.this, error);\n }\n });\n}\n"
|
"public void validate(Object target, Errors errors) {\n ConsentSignature sig = (ConsentSignature) target;\n if (Strings.isNullOrEmpty(sig.getName())) {\n errors.rejectValue(\"String_Node_Str\", CANNOT_BE_BLANK);\n }\n if (Strings.isNullOrEmpty(sig.getBirthdate())) {\n if (minAgeOfConsent > 0) ... |
"public void insertKMExpenses(ActionRequest request, ActionResponse response) {\n User user = AuthUtils.getUser();\n if (user != null) {\n Expense expense = Beans.get(ExpenseRepository.class).all().filter(\"String_Node_Str\", user.getId()).order(\"String_Node_Str\").fetchOne();\n if (expense == null... |
"public void update(UsagePortForwardingRuleVO usage) {\n TransactionLegacy txn = TransactionLegacy.open(TransactionLegacy.USAGE_DB);\n PreparedStatement pstmt = null;\n try {\n txn.start();\n if (usage.getDeleted() != null) {\n try (PreparedStatement pstmt = txn.prepareStatement(UPDATE... |
"public void onReceive(Context context, Intent intent) {\n if (intent.getAction() != null && intent.getAction().equals(\"String_Node_Str\")) {\n SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);\n boolean startOnBoot = prefs.getBoolean(\"String_Node_Str\", false);\n ... |
"public final CTFClock getClock() {\n if (clocks.size() == 1) {\n if (singleClock == null) {\n singleClock = clocks.get(clocks.keySet().toArray()[0]);\n if (singleClock.getProperty(OFFSET) != null) {\n singleOffset = (Long) getClock().getProperty(OFFSET);\n } el... |
"private static ResumeDownloader newResumeDownloader() {\n ResumeDownloader ret = new ResumeDownloader(ifm, incompleteFile, name, size);\n ret.initialize(new DownloadManagerStub(), new FileManagerStub(), new ActivityCallbackStub());\n return ret;\n}\n"
|
"public static <II extends ImageSingleBand> FastHessianFeatureDetector<II> fastHessian(ConfigFastHessian config) {\n if (config == null)\n config = new ConfigFastHessian();\n config.checkValidity();\n NonMaxSuppression extractor = FactoryFeatureExtractor.nonmax(new ConfigExtract(config.extractRadius, co... |
"protected void onCreate(Bundle savedInstanceState) {\n super.onCreate(savedInstanceState);\n setContentView(R.layout.change_picture);\n Intent intent = getIntent();\n id = intent.getLongExtra(\"String_Node_Str\", 0);\n if (fileUri == null) {\n Intent cameraIntent = new Intent(MediaStore.ACTION_IM... |
"private void registerDependenciesForJavaProject(final IJavaProject javaProject) {\n DependencyInfo dependencyInfoForProject = getDependencyInfoForProject(javaProject);\n Optional<DependencyInfo> optionalJREDependencyInfo = createDependencyInfoForJre(javaProject);\n if (optionalJREDependencyInfo.isPresent()) {... |
"public String toString(int depth) {\n if (depth <= 0)\n return \"String_Node_Str\";\n String ret = \"String_Node_Str\" + super.toString(depth) + Strings.indent(2, \"String_Node_Str\");\n for (int i = 0; i < this.facts.length; i++) {\n ret += Strings.indent(4, this.facts[i].toString(depth - 1));\... |
"public static AVInstallation getCurrentInstallation() {\n if (currentInstallation == null) {\n synchronized (AVInstallation.class) {\n if (currentInstallation == null && readInstallationFile(usingCtx) == null) {\n createNewInstallation(usingCtx);\n }\n }\n }\n ... |
"public void upgrade() throws Exception {\n int numThreads = cConf.getInt(Constants.Upgrade.UPGRADE_THREAD_POOL_SIZE);\n ExecutorService executor = Executors.newFixedThreadPool(numThreads, new ThreadFactoryBuilder().setThreadFactory(Executors.privilegedThreadFactory()).setNameFormat(\"String_Node_Str\").setDaemon... |
"public AppBudget getAppBudget() {\n return appBudgetRepo.all().fetchOne();\n}\n"
|
"public void loadSavedUploads() {\n File uploadsDirectory = BittorrentSettings.TORRENT_UPLOADS_FOLDER.get();\n if (uploadsDirectory.exists()) {\n File[] uploadMementos = uploadsDirectory.listFiles(new FileFilter() {\n public boolean accept(File file) {\n return \"String_Node_Str\"... |
"public int hashCode() {\n return outPoint.txid.hashCode() + outPoint.index;\n}\n"
|
"private void addItemDetail(MissionItemRender item) {\n itemDetailFragment = item.getDetailFragment();\n if (mContainerItemDetail == null) {\n itemDetailFragment.show(fragmentManager, \"String_Node_Str\");\n } else {\n fragmentManager.beginTransaction().replace(R.id.containerItemDetail, itemDetai... |
"protected void checkFnDeclaresParameters(final FunctionSignature functionSignature, final List<String> fnArgumentNames) throws RestAnnotationException {\n final FunctionArgument[] fnArguments = functionSignature.getArguments();\n for (final String fnArgumentName : fnArgumentNames) {\n boolean found = fals... |
"public static SerializationPolicy loadFromStream(InputStream inputStream) throws IOException, ParseException, ClassNotFoundException {\n if (inputStream == null) {\n throw new NullPointerException(\"String_Node_Str\");\n }\n Map<Class<?>, Boolean> whitelist = new HashMap<Class<?>, Boolean>();\n Inpu... |
"private void applyHealing(LivingEntity livingEntity) {\n if (livingEntity.getHealth() < livingEntity.getMaxHealth()) {\n livingEntity.addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, duration, power));\n AirAbility.breakBreathbendingHold(livingEntity);\n healing = true;\n ... |
"public ReadableArchive getSubArchive(String name) throws java.io.IOException {\n if (jarFile == null) {\n return null;\n }\n DeploymentPlanArchive dpArchive = new DeploymentPlanArchive();\n dpArchive.jarFile = new JarFile(new File(uri));\n try {\n if (uri != null) {\n dpArchive.... |
"void cellDestroyed(SpatialCell cell) {\n CellID cellID = ((SpatialCellImpl) cell).getCellID();\n removeViewUpdateListener(cellID, null);\n}\n"
|
"public org.hl7.fhir.dstu2.model.Procedure.ProcedurePerformerComponent convertProcedurePerformerComponent(org.hl7.fhir.dstu3.model.Procedure.ProcedurePerformerComponent src) throws FHIRException {\n if (src == null || src.isEmpty())\n return null;\n org.hl7.fhir.dstu2.model.Procedure.ProcedurePerformerComp... |
"public void handleAction(Object context) throws ApplicationException {\n String kontoid;\n try {\n kontoid = askUserForKonto();\n } catch (Exception e1) {\n e1.printStackTrace();\n Logger.error(\"String_Node_Str\", e1);\n return;\n }\n ArrayList<FeldDefinitionen> fd = new Arr... |
"protected ReturnCode executeSqlQuery(String sqlStatement) throws SQLException {\n ReturnCode ok = new ReturnCode(true);\n DataProvider dataProvider = this.getDataManager();\n if (this.elementToIndicators.values().isEmpty()) {\n String msg = \"String_Node_Str\";\n log.error(msg);\n ok.setR... |
"public void cancel(Block block) throws InvalidSecurityContextException, TaskSubmissionException {\n try {\n Task t = block.getTask();\n getHandler(getProvider(t)).cancel(t);\n } catch (InvalidProviderException e) {\n throw new TaskSubmissionException(e);\n } catch (ProviderMethodException... |
"protected void doDSGet(Context context, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, SQLException, AuthorizeException {\n String workspaceID = request.getParameter(\"String_Node_Str\");\n String workflowID = request.getParameter(\"String_Node_Str\");\n if (wo... |
"public void onBindViewHolder(MonthAdapter.ViewHolder holder, int position) {\n int originalPosition = position;\n if (Utils.isWeekOfYearEnabled()) {\n if (position % 8 == 0) {\n int row = position / 8;\n if (row > 0 && row <= weeksCount) {\n holder.num.setText(Utils.fo... |
"private String initExpression(DbMapComponent component, ExternalDbMapEntry dbMapEntry) {\n String expression = dbMapEntry.getExpression();\n boolean flag = false;\n if (expression != null) {\n List<Map<String, String>> itemNameList = null;\n MapExpressionParser mapParser1 = new MapExpressionPars... |
"public boolean changeColor(AEColor newColor, EntityPlayer who) {\n if (getCableColor() != newColor) {\n ItemStack newPart = null;\n if (getCableConnectionType() == AECableType.GLASS)\n newPart = AEApi.instance().parts().partCableGlass.stack(newColor, 1);\n else if (getCableConnection... |
"private static List createMatchedAggrRow(IAggregationResultSet base, SortKey[] sortKeys, AggregationResultRowNavigator[] filteredAggrResultSet) throws IOException {\n List keyValues = new ArrayList();\n for (int x = 0; x < filteredAggrResultSet.length; x++) {\n SortKey key = sortKeys[x];\n Object[]... |
"public static void securityCheck() {\n context.logout();\n Long personId = null;\n try {\n personId = Long.valueOf(session.get(\"String_Node_Str\"));\n } catch (RuntimeException re) {\n }\n Person person = null;\n if (personId != null) {\n person = personRepo.findPerson(personId);\n ... |
"public String[] fromGameField(Level gameField) {\n Tile[][] tiles = gameField.getField();\n int indexOfProperties = 0;\n if (gameField.getId() == null) {\n gameField.setId(-1);\n }\n String[] level = new String[tiles[0].length + 3];\n level[0] = String.valueOf(gameField.getId());\n level[1]... |
"public T decode(InputStream in, Context context) throws IOException {\n if (context.isWholeStream) {\n JsonParser jsonParser = jacksonFactory.createJsonParser(in);\n T obj = jsonParser.parse(type);\n jsonParser.close();\n return obj;\n } else {\n in.mark(READ_LIMIT);\n J... |
"private void startCurrentFrameAnimation(int repeatType, int count, ActionCallback cb) {\n if (notPreloadedAtlas != null && !currentFrameAnimation.atlas.equals(notPreloadedAtlas)) {\n EngineAssetManager.getInstance().disposeAtlas(notPreloadedAtlas);\n notPreloadedAtlas = null;\n }\n if (currentFr... |
"public void testMapInstanceDestroy() throws Exception {\n IMap<String, String> map = getHazelcastClient().getMap(\"String_Node_Str\");\n Thread.sleep(1000);\n Collection<Instance> instances = getHazelcastClient().getInstances();\n boolean found = false;\n for (Instance instance : instances) {\n i... |
"public synchronized void start(Map<String, String> stringParams) {\n if (started) {\n throw new IllegalStateException(\"String_Node_Str\");\n }\n Map<Object, Object> params = getDefaultParams();\n for (Map.Entry<String, String> entry : stringParams.entrySet()) {\n params.put(entry.getKey(), e... |
"private void genBasicIV() throws BirtException {\n QueryDefinition qd = newGenIVReportQuery();\n if (!this.usesDetails) {\n qd.setUsesDetails(false);\n }\n IQueryResults qr = myGenDataEngine.prepare(qd).execute(scope);\n GEN_queryResultID = qr.getID();\n IResultIterator ri = qr.getResultIterat... |
"public void initialize(ReportQuery query) throws QueryException {\n int size = getReportItems().size();\n List mappings = new ArrayList();\n for (int index = 0; index < size; index++) {\n ReportItem item = (ReportItem) reportItems.get(index);\n item.initialize(query);\n mappings.add(item.... |
"public AccountHolder getAccountHolder(String uuidOrName) {\n OfflinePlayer player;\n try {\n UUID playerId = UUID.fromString(uuidOrName);\n player = Bukkit.getOfflinePlayer(playerId);\n } catch (IllegalArgumentException ignored) {\n for (OfflinePlayer p : Bukkit.getOfflinePlayers()) {\n ... |
"protected boolean logIn(final Project project) {\n final ProxyRepositoryFactory factory = ProxyRepositoryFactory.getInstance();\n ConnectionBean connBean = loginComposite.getConnection();\n final boolean needRestartForLocal = loginComposite.needRestartForLocal();\n if (connBean == null || project == null |... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.