Unnamed: 0 int64 0 305k | body stringlengths 7 52.9k | name stringlengths 1 185 |
|---|---|---|
66,300 | SvnFileUrlMapping () { return myProject.getService(SvnFileUrlMapping.class); } | getSvnFileUrlMapping |
66,301 | List<WCInfo> () { final SvnFileUrlMapping urlMapping = getSvnFileUrlMapping(); final List<RootUrlInfo> infoList = urlMapping.getAllWcInfos(); final List<WCInfo> infos = new ArrayList<>(); for (RootUrlInfo info : infoList) { final File file = info.getIoFile(); infos.add(new WCInfo(info, SvnUtil.isWorkingCopyRoot(file), ... | getAllWcInfos |
66,302 | List<WCInfo> () { List<WCInfo> result = new ArrayList<>(getAllWcInfos()); for (RootUrlInfo info : getSvnFileUrlMapping().getErrorRoots()) { result.add(new WCInfo(info, SvnUtil.isWorkingCopyRoot(info.getIoFile()), Depth.UNKNOWN)); } return result; } | getWcInfosWithErrors |
66,303 | RootsConvertor () { if (myProject.isDefault()) return null; return getSvnFileUrlMapping(); } | getCustomConvertor |
66,304 | boolean () { return false; } | needsLegacyDefaultMappings |
66,305 | MergeProvider () { if (myMergeProvider == null) { myMergeProvider = new SvnMergeProvider(myProject); } return myMergeProvider; } | getMergeProvider |
66,306 | boolean () { return true; } | allowsNestedRoots |
66,307 | T () { return mySrc; } | getSrc |
66,308 | VirtualFile () { return myFile; } | getVirtualFile |
66,309 | Url () { return myUrl; } | getUrl |
66,310 | void (@NotNull IdeFrame ideFrame) { final List<VirtualFile> folders = ((ChangeListManagerImpl)myClManager).getLockedFolders(); if (!folders.isEmpty()) { myDirtyScopeManager.filesDirty(null, folders); } } | applicationActivated |
66,311 | VcsKey () { return ourKey; } | getKey |
66,312 | boolean (@NotNull VirtualFile root) { ClientFactory factory = getFactory(virtualToIoFile(root)); ThreeState authResult = SvnAuthenticationNotifier.getInstance(myProject).isAuthenticatedFor(root, factory == cmdClientFactory ? factory : null); return ThreeState.YES.equals(authResult); } | isVcsBackgroundOperationsAllowed |
66,313 | SvnBranchPointsCalculator () { return mySvnBranchPointsCalculator; } | getSvnBranchPointsCalculator |
66,314 | boolean () { return true; } | areDirectoriesVersionedItems |
66,315 | CheckoutProvider () { if (myCheckoutProvider == null) { myCheckoutProvider = new SvnCheckoutProvider(); } return myCheckoutProvider; } | getCheckoutProvider |
66,316 | ClientFactory () { return cmdClientFactory; } | getFactory |
66,317 | ClientFactory (@NotNull WorkingCopyFormat format) { return cmdClientFactory; } | getFactory |
66,318 | ClientFactory (@NotNull File file) { return cmdClientFactory; } | getFactory |
66,319 | ClientFactory (@NotNull File file, boolean useMapping) { return cmdClientFactory; } | getFactory |
66,320 | ClientFactory (@NotNull Target target) { return target.isFile() ? getFactory(target.getFile()) : getFactory(); } | getFactory |
66,321 | ClientFactory () { return cmdClientFactory; } | getFactoryFromSettings |
66,322 | ClientFactory () { return cmdClientFactory; } | getCommandLineFactory |
66,323 | WorkingCopyFormat () { WorkingCopyFormat result; try { result = WorkingCopyFormat.from(CmdVersionClient.parseVersion(Registry.stringValue("svn.lowest.supported.format.for.command.line"))); } catch (SvnBindException ignore) { result = WorkingCopyFormat.ONE_DOT_SEVEN; } return result; } | getLowestSupportedFormatForCommandLine |
66,324 | boolean (@NotNull WorkingCopyFormat format) { return format.isOrGreater(getLowestSupportedFormatForCommandLine()); } | isSupportedByCommandLine |
66,325 | boolean () { return isSupportedByCommandLine(WorkingCopyFormat.ONE_DOT_SIX); } | is16SupportedByCommandLine |
66,326 | JComponent () { return new CopiesPanel(myProject); } | initContent |
66,327 | void (@NotNull Project project) { final ToolWindowManager manager = ToolWindowManager.getInstance(project); final ToolWindow window = manager.getToolWindow(ChangesViewContentManager.TOOLWINDOW_ID); if (window != null) { window.show(null); final ContentManager cm = window.getContentManager(); final Content content = cm.... | show |
66,328 | boolean (@NotNull Project project) { return ProjectLevelVcsManager.getInstance(project).checkVcsIsActive(SvnVcs.VCS_NAME); } | test |
66,329 | String () { return SvnBundle.message("toolwindow.working.copies.info.title"); } | get |
66,330 | String () { return SvnBundle.message("dialog.show.svn.map.title"); } | getTabName |
66,331 | JComponent () { return myMainPanel; } | getComponent |
66,332 | void (@NotNull SvnConfiguration configuration) { myCheckNestedInQuickMerge.setSelected(configuration.isCheckNestedForQuickMerge()); myIgnoreWhitespaceDifferenciesInCheckBox.setSelected(configuration.isIgnoreSpacesInAnnotate()); myShowMergeSourceInAnnotate.setSelected(configuration.isShowMergeSourcesInAnnotate()); final... | reset |
66,333 | boolean (@NotNull SvnConfiguration configuration) { if (configuration.isCheckNestedForQuickMerge() != myCheckNestedInQuickMerge.isSelected()) { return true; } if (configuration.isIgnoreSpacesInAnnotate() != myIgnoreWhitespaceDifferenciesInCheckBox.isSelected()) { return true; } if (configuration.isShowMergeSourcesInAnn... | isModified |
66,334 | void (@NotNull SvnConfiguration configuration) { configuration.setCheckNestedForQuickMerge(myCheckNestedInQuickMerge.isSelected()); configuration.setIgnoreSpacesInAnnotate(myIgnoreWhitespaceDifferenciesInCheckBox.isSelected()); configuration.setShowMergeSourcesInAnnotate(myShowMergeSourceInAnnotate.isSelected()); if (!... | apply |
66,335 | void () { final SvnConfiguration configuration = SvnConfiguration.getInstance(myProject); int value = configuration.getMaxAnnotateRevisions(); value = (value == -1) ? SvnConfiguration.ourMaxAnnotateRevisionsDefault : value; myNumRevsInAnnotations = new JSpinner(new SpinnerNumberModel(value, 10, 100000, 100)); } | createUIComponents |
66,336 | void (final Collection<? extends Change> changes, final ChangeList fromList) { if (LocalChangeList.getDefaultName().equals(fromList.getName())) { return; } removeFromChangeList(changes); } | changesRemoved |
66,337 | void (Collection<? extends Change> changes, ChangeList toList) { if (toList == null || LocalChangeList.getDefaultName().equals(toList.getName())) { return; } addToChangeList(toList.getName(), changes); } | changesAdded |
66,338 | void (final ChangeList list) { removeFromChangeList(list.getChanges()); } | changeListRemoved |
66,339 | List<FilePath> (@NotNull Collection<? extends Change> changes) { return ContainerUtil.findAll(ChangesUtil.getPaths(changes), myUnderSvnCondition); } | getPathsFromChanges |
66,340 | void (final ChangeList list, final String oldName) { if (Objects.equals(list.getName(), oldName)) { return; } if (LocalChangeList.getDefaultName().equals(list.getName())) { changeListRemoved(list); return; } addToChangeList(list.getName(), list.getChanges()); } | changeListRenamed |
66,341 | void (final Collection<? extends Change> changes, final ChangeList fromList, final ChangeList toList) { if (fromList.getName().equals(toList.getName())) { return; } if (LocalChangeList.getDefaultName().equals(toList.getName())) { changeListRemoved(toList); return; } final String[] fromLists = LocalChangeList.getDefault... | changesMoved |
66,342 | String (@NotNull SvnVcs vcs, @NotNull File file) { try { final Status status = vcs.getFactory(file).createStatusClient().doStatus(file, false); return status == null ? null : status.getChangeListName(); } catch (SvnBindException e) { if (e.contains(ErrorCode.WC_NOT_WORKING_COPY) || e.contains(ErrorCode.WC_NOT_FILE)) { ... | getCurrentMapping |
66,343 | void (@NotNull Collection<? extends Change> changes) { for (FilePath path : getPathsFromChanges(changes)) { try { File file = path.getIOFile(); myVcs.getFactory(file).createChangeListClient().remove(file); } catch (VcsException e) { LOG.info(e); } } } | removeFromChangeList |
66,344 | void (@NotNull String changeList, @NotNull Collection<? extends Change> changes) { addToChangeList(changeList, changes, null); } | addToChangeList |
66,345 | void (@NotNull String changeList, @NotNull Collection<? extends Change> changes, String @Nullable [] changeListsToOperate) { for (FilePath path : getPathsFromChanges(changes)) { try { File file = path.getIOFile(); myVcs.getFactory(file).createChangeListClient().add(changeList, file, changeListsToOperate); } catch (VcsE... | addToChangeList |
66,346 | SvnApplicationSettings () { return ApplicationManager.getApplication().getService(SvnApplicationSettings.class); } | getInstance |
66,347 | ConfigurationBean () { myConfigurationBean.myTypedURLs.clear(); myConfigurationBean.myTypedURLs.addAll(getTypedList().getList()); return myConfigurationBean; } | getState |
66,348 | void (@NotNull ConfigurationBean object) { myConfigurationBean = object; getTypedList(); } | loadState |
66,349 | void (@NlsSafe String path) { myConfigurationBean.mySvnCommandLine = path; } | setCommandLinePath |
66,350 | LimitedStringsList () { if (myLimitedStringsList == null) { checkFillTypedFromCheckout(); myLimitedStringsList = new LimitedStringsList(myConfigurationBean.myTypedURLs); } return myLimitedStringsList; } | getTypedList |
66,351 | void () { if (myConfigurationBean.myTypedURLs.isEmpty() && (! myConfigurationBean.myCheckoutURLs.isEmpty())) { myConfigurationBean.myTypedURLs.addAll(myConfigurationBean.myCheckoutURLs); } } | checkFillTypedFromCheckout |
66,352 | File () { File file = new File(PathManager.getSystemPath()); file = new File(file, "plugins"); file = new File(file, "svn4idea"); file.mkdirs(); return file; } | getCommonPath |
66,353 | File () { return new File(getCommonPath(), "credentials.xml"); } | getCredentialsFile |
66,354 | File (final Project project) { File file = getCommonPath(); file = new File(file, LOADED_REVISIONS_DIR); file = new File(file, project.getLocationHash()); file.mkdirs(); return file; } | getLoadedRevisionsDir |
66,355 | Collection<String> () { return myConfigurationBean.myCheckoutURLs; } | getCheckoutURLs |
66,356 | void (String url) { if (myConfigurationBean.myCheckoutURLs.contains(url)) { return; } myConfigurationBean.myCheckoutURLs.add(0, url); } | addCheckoutURL |
66,357 | void (String url) { if (myConfigurationBean.myCheckoutURLs != null) { // 'url' is not necessary an exact match for some of the urls in collection - it has been parsed and then converted back to string for(String oldUrl: myConfigurationBean.myCheckoutURLs) { try { if (url.equals(oldUrl) || createUrl(url).equals(createUr... | removeCheckoutURL |
66,358 | List<String> () { return new ArrayList<>(getTypedList().getList()); } | getTypedUrlsListCopy |
66,359 | void (final String url) { getTypedList().add(url); } | addTypedUrl |
66,360 | SvnConfigurationState () { return myState; } | getState |
66,361 | void (@NotNull SvnConfigurationState state) { myState = state; } | loadState |
66,362 | long () { final String timeout = getServersFile().getDefaultGroup().getTimeout(); try { return Long.parseLong(timeout) * 1000; } catch (NumberFormatException e) { return 0; } } | getHttpTimeout |
66,363 | DiffOptions () { return new DiffOptions(isIgnoreSpacesInMerge(), isIgnoreSpacesInMerge(), isIgnoreSpacesInMerge()); } | getMergeOptions |
66,364 | SvnIniFile () { if (myServersFile == null) { myServersFile = new SvnIniFile(getConfigurationPath().resolve(SERVERS_FILE_NAME)); } myServersFile.updateGroups(); return myServersFile; } | getServersFile |
66,365 | SvnIniFile () { if (myConfigFile == null) { myConfigFile = new SvnIniFile(getConfigurationPath().resolve(CONFIG_FILE_NAME)); } return myConfigFile; } | getConfigFile |
66,366 | String () { // TODO: Utilize both system and user settings return StringUtil.notNullize(getConfigFile().getValue("tunnels", "ssh")); } | getSshTunnelSetting |
66,367 | void (@Nullable String value) { getConfigFile().setValue("tunnels", "ssh", value); getConfigFile().save(); } | setSshTunnelSetting |
66,368 | void (final long value) { long cut = value / 1000; getServersFile().setValue(GLOBAL_SERVER_GROUP, TIMEOUT, String.valueOf(cut)); getServersFile().save(); } | setHttpTimeout |
66,369 | SvnConfiguration (final Project project) { return project.getService(SvnConfiguration.class); } | getInstance |
66,370 | void (final boolean value) { final boolean changed = myState.IGNORE_SPACES_IN_ANNOTATE != value; myState.IGNORE_SPACES_IN_ANNOTATE = value; if (changed) { BackgroundTaskUtil.syncPublisher(getProject(), VcsAnnotationRefresher.LOCAL_CHANGES_CHANGED).configurationChanged(SvnVcs.getKey()); } } | setIgnoreSpacesInAnnotate |
66,371 | long () { return myState.sshConnectionTimeout; } | getSshConnectionTimeout |
66,372 | void (long sshConnectionTimeout) { myState.sshConnectionTimeout = sshConnectionTimeout; } | setSshConnectionTimeout |
66,373 | long () { return myState.sshReadTimeout; } | getSshReadTimeout |
66,374 | void (long sshReadTimeout) { myState.sshReadTimeout = sshReadTimeout; } | setSshReadTimeout |
66,375 | Project () { return myProject; } | getProject |
66,376 | Boolean () { return myState.keepNewFilesAsIsForTreeConflictMerge; } | isKeepNewFilesAsIsForTreeConflictMerge |
66,377 | void (Boolean keepNewFilesAsIsForTreeConflictMerge) { myState.keepNewFilesAsIsForTreeConflictMerge = keepNewFilesAsIsForTreeConflictMerge; } | setKeepNewFilesAsIsForTreeConflictMerge |
66,378 | SSLProtocols () { return myState.sslProtocols; } | getSslProtocols |
66,379 | void (SSLProtocols sslProtocols) { myState.sslProtocols = sslProtocols; } | setSslProtocols |
66,380 | Depth () { return myState.UPDATE_DEPTH; } | getUpdateDepth |
66,381 | void (Depth updateDepth) { myState.UPDATE_DEPTH = updateDepth; } | setUpdateDepth |
66,382 | boolean () { return myState.runUnderTerminal; } | isRunUnderTerminal |
66,383 | void (boolean value) { myState.runUnderTerminal = value; } | setRunUnderTerminal |
66,384 | boolean () { return myState.IGNORE_EXTERNALS; } | isIgnoreExternals |
66,385 | void (boolean ignoreExternals) { myState.IGNORE_EXTERNALS = ignoreExternals; } | setIgnoreExternals |
66,386 | boolean () { return myState.MERGE_DRY_RUN; } | isMergeDryRun |
66,387 | void (boolean mergeDryRun) { myState.MERGE_DRY_RUN = mergeDryRun; } | setMergeDryRun |
66,388 | boolean () { return myState.MERGE_DIFF_USE_ANCESTRY; } | isMergeDiffUseAncestry |
66,389 | void (boolean mergeDiffUseAncestry) { myState.MERGE_DIFF_USE_ANCESTRY = mergeDiffUseAncestry; } | setMergeDiffUseAncestry |
66,390 | boolean () { return myState.IGNORE_SPACES_IN_MERGE; } | isIgnoreSpacesInMerge |
66,391 | void (boolean ignoreSpacesInMerge) { myState.IGNORE_SPACES_IN_MERGE = ignoreSpacesInMerge; } | setIgnoreSpacesInMerge |
66,392 | boolean () { return myState.CHECK_NESTED_FOR_QUICK_MERGE; } | isCheckNestedForQuickMerge |
66,393 | void (boolean checkNestedForQuickMerge) { myState.CHECK_NESTED_FOR_QUICK_MERGE = checkNestedForQuickMerge; } | setCheckNestedForQuickMerge |
66,394 | boolean () { return myState.IGNORE_SPACES_IN_ANNOTATE; } | isIgnoreSpacesInAnnotate |
66,395 | boolean () { return myState.SHOW_MERGE_SOURCES_IN_ANNOTATE; } | isShowMergeSourcesInAnnotate |
66,396 | void (boolean showMergeSourcesInAnnotate) { myState.SHOW_MERGE_SOURCES_IN_ANNOTATE = showMergeSourcesInAnnotate; } | setShowMergeSourcesInAnnotate |
66,397 | boolean () { return myState.FORCE_UPDATE; } | isForceUpdate |
66,398 | void (boolean forceUpdate) { myState.FORCE_UPDATE = forceUpdate; } | setForceUpdate |
66,399 | Long (final Long version) { return version == null || version.longValue() < CHANGELIST_SUPPORT ? UPGRADE_TO_15_VERSION_ASKED : version; } | fixSupportedVersion |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.