conflict_resolution
stringlengths
27
16k
<<<<<<< public AuthenticationResult build(final Service service) { final var authentication = buildAuthentication(); ======= public AuthenticationResult build(final PrincipalElectionStrategy principalElectionStrategy, final Service service) { final Authentication authentication = buildAuthenti...
<<<<<<< final var since = DateTimeUtils.dateOf(LocalDate.now().minusDays(2)); final var ctx = new AuditActionContext("casuser", "TEST", "TEST", ======= final LocalDate time = LocalDate.now().minusDays(2); final Date since = DateTimeUtils.dateOf(time); final AuditActionContext c...
<<<<<<< if (ResourceUtils.isFile(secretKeyToUse) && ResourceUtils.doesResourceExist(secretKeyToUse)) { final Resource resource = ResourceUtils.getResourceFrom(secretKeyToUse); LOGGER.debug("Located encryption key resource [{}]. Attempting to extract public key...", resource);...
<<<<<<< final var request = context.getRequest(); final var clientId = uProfile.getId(); final var redirectUri = request.getParameter(OAuth20Constants.REDIRECT_URI); final var registeredService = OAuth20Utils.getRegisteredOAuthServiceByClientId(this.servicesManager, clientId); ======= ...
<<<<<<< final var spnego = createActionState(flow, SPNEGO, createEvaluateAction(SPNEGO)); final var transitions = spnego.getTransitionSet(); transitions.add(createTransition(CasWebflowConstants.TRANSITION_ID_SUCCESS, CasWebflowConstants.STATE_ID_SEND_TICKET_GRANTING_TICKET)); ======= f...
<<<<<<< ======= import org.apereo.cas.configuration.model.core.metrics.MetricsProperties; import org.apereo.cas.influxdb.InfluxDbConnectionFactory; import org.apereo.cas.metrics.MongoDbMetric; import org.apereo.cas.mongo.MongoDbConnectionFactory; import org.apereo.cas.redis.core.RedisObjectFactory; import org.influxd...
<<<<<<< final var action = createActionState(flow, CasWebflowConstants.STATE_ID_SEND_TICKET_GRANTING_TICKET, createEvaluateAction(CasWebflowConstants.ACTION_ID_SEND_TICKET_GRANTING_TICKET)); ======= final ActionState action = createActionState(flow, CasWebflowConstants.STATE_ID_SEND_TICKET...
<<<<<<< final var authentication = builder.build(); final var principal = authentication.getPrincipal(); ======= final Authentication authentication = builder.build(); final Principal primaryPrincipal = authentication.getPrincipal(); >>>>>>> final var authentication = builder...
<<<<<<< final var props = new SamlIdPProperties(); final var resolver = new UrlResourceMetadataResolver(props, openSamlConfigBean); final var service = new SamlRegisteredService(); ======= final SamlIdPProperties props = new SamlIdPProperties(); props.getMetadata().setLocation(...
<<<<<<< import lombok.val; ======= import lombok.val; import org.apache.http.HttpStatus; >>>>>>> import lombok.val; <<<<<<< response.setContentType(MediaType.APPLICATION_JSON_VALUE); try (val jsonGenerator = getResponseJsonGenerator(response)) { jsonGenerator.writeStartObject(); ...
<<<<<<< final var repo = CachingPrincipalAttributesRepository.class.cast(beanOrClass); switch (propertyName) { case "duration": for (var i = 1; i <= TOKEN_COUNT_DURATION; i++) { p.nextToken(); } f...
<<<<<<< final var size = this.serviceRegistry.size(); LOGGER.debug("Service registry contains [{}] service definitions", size); ======= final long size = this.serviceRegistry.size(); LOGGER.debug("Service registry contains [{}] service definition(s)", size); >>>>>>> final var ...
<<<<<<< ======= import org.apereo.cas.configuration.model.support.services.json.JsonServiceRegistryProperties; >>>>>>> <<<<<<< final var props = casProperties.getServiceRegistry(); final var serviceRegistryInstance = serviceRegistry.getIfAvailable(); final var initializer = new S...
<<<<<<< import org.junit.jupiter.api.BeforeAll; import org.junit.runner.RunWith; ======= import org.junit.BeforeClass; >>>>>>> import org.junit.jupiter.api.BeforeAll;
<<<<<<< final var encodedValue = cipher.encode(cachedAttribute, registeredService); ======= final String encodedValue = cipher.encode(cachedAttribute, Optional.of(registeredService)); >>>>>>> final var encodedValue = cipher.encode(cachedAttribute, Optional.of(registeredService));
<<<<<<< @SneakyThrows private MongoClientOptions buildMongoDbClientOptions() { final var bean = new MongoClientOptionsFactoryBean(); bean.setSocketTimeout(TIMEOUT); bean.setConnectTimeout(TIMEOUT); bean.setMaxWaitTime(TIMEOUT); bean.afterPropertiesSet(); return b...
<<<<<<< import com.mongodb.client.result.DeleteResult; import lombok.AllArgsConstructor; ======= import com.mongodb.WriteResult; import lombok.RequiredArgsConstructor; >>>>>>> import com.mongodb.client.result.DeleteResult; import lombok.RequiredArgsConstructor; <<<<<<< final var query = new Query(); ...
<<<<<<< public boolean deleteConsentDecision(final long decisionId) { final var query = new Query(Criteria.where("id").is(decisionId)); this.mongoTemplate.remove(query, this.collectionName); return true; } @Override public boolean deleteConsentDecisions(final String principal) {...
<<<<<<< final var files = FileUtils.listFiles(this.serviceRegistryDirectory.toFile(), new String[]{getExtension()}, true); this.serviceMap = files.stream().map(this::load).filter(Objects::nonNull).flatMap(Collection::stream) .sorted().collect(Collectors.toMap(RegisteredService::getId, Functi...
<<<<<<< public void testSaveMethodWithDefaultUsernameAttribute() { final RegisteredServiceImpl r = new RegisteredServiceImpl(); r.setName("testSaveMethodWithDefaultUsernameAttribute"); r.setServiceId("testId"); r.setTheme("theme"); r.setDescription("description"); r.s...
<<<<<<< final int position = requestBody.indexOf("RequestID=\"") + 11; final int nextPosition = requestBody.indexOf('"', position); ======= final int position = requestBody.indexOf("RequestID=\"") + CONST_REQUEST_ID_LENGTH; final int nextPosition = requestBody.indexOf("...
<<<<<<< + "[https://support.microsoft.com/en-us/kb/269190]"); final var operation = new ModifyOperation(modifyConnection); ======= + "[https://support.microsoft.com/en-us/kb/269190]"); final ModifyOperation operation = new ModifyOperation(mod...
<<<<<<< public Optional<RsaJsonWebKey> load(final OidcRegisteredService svc) throws Exception { final var jwks = buildJsonWebKeySet(svc); ======= public Optional<RsaJsonWebKey> load(final OidcRegisteredService svc) { final Optional<JsonWebKeySet> jwks = buildJsonWebKeySet(svc); >>>>>>> pu...
<<<<<<< final var resolver = new MvcViewFactoryCreator(); resolver.setViewResolvers(CollectionUtils.wrap(this.registeredServiceViewResolver)); ======= final MvcViewFactoryCreator resolver = new MvcViewFactoryCreator(); resolver.setViewResolvers(CollectionUtils.wrap(this.registeredServi...
<<<<<<< final var svc = new OidcRegisteredService(); svc.setClientId("id"); svc.setName("oauth"); svc.setDescription("description"); svc.setClientSecret("secret"); svc.setInformationUrl("info"); svc.setPrivacyUrl("privacy"); svc.setServiceId("https://oauth...
<<<<<<< import org.springframework.transaction.event.TransactionalEventListener; ======= import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.event.EventListener; >>>>>>> import org.springframework.context.event.EventListener;
<<<<<<< final var a = new JwtAuthenticator(); final var secretBytes = getSecretBytes(signingSecret, secretsAreBase64Encoded); a.setSignatureConfiguration(new SecretSignatureConfiguration(secretBytes, signingAlg)); ======= final JwtAuthenticator jwtAuthenticator = new Jw...
<<<<<<< final var serviceId = token.getService().getId(); final var codeRegisteredService = OAuth20Utils.getRegisteredOAuthServiceByRedirectUri(this.servicesManager, serviceId); ======= final String id = token.getService().getId(); final OAuthRegisteredService codeRegis...
<<<<<<< final var profile = new OAuthUserProfile(); final var id = registeredService.getUsernameAttributeProvider().resolveUsername(principal, service, registeredService); ======= final CommonProfile profile = new CommonProfile(); final String id = registeredService.get...
<<<<<<< /** * The IP address pattern that can control access to the admin status endpoints. */ ======= /** * IP address pattern. */ >>>>>>> /** * The IP address pattern that can control access to the admin status endpoints. */ */ <<<<<<< /** * Roles that are...
<<<<<<< final var resolver = new PersonDirectoryPrincipalResolver(); final var p = resolver.resolve(() -> null, CoreAuthenticationTestUtils.getPrincipal(), new SimpleTestUsernamePasswordAuthenticationHandler()); ======= final PersonDirectoryPrincipalResolver resolver = new PersonDirectoryPrinc...
<<<<<<< public int getPercentFree() { final var capacity = getCapacity(); ======= public long getPercentFree() { final long capacity = getCapacity(); >>>>>>> public long getPercentFree() { final var capacity = getCapacity(); <<<<<<< public void toString(final StringBuilder bu...
<<<<<<< /* * Copyright (C) 2012-2019 52°North Initiative for Geospatial Open Source ======= /** * Copyright (C) 2012-2020 52°North Initiative for Geospatial Open Source >>>>>>> /* * Copyright (C) 2012-2020 52°North Initiative for Geospatial Open Source
<<<<<<< ======= import java.util.Map; import lombok.extern.slf4j.Slf4j; >>>>>>> import lombok.extern.slf4j.Slf4j;
<<<<<<< final var ctx = getEncoderMessageContext(samlResponse, relayState); ======= final MessageContext ctx = getEncoderMessageContext(authnRequest, samlResponse, relayState); >>>>>>> final var ctx = getEncoderMessageContext(authnRequest, samlResponse, relayState); <<<<<<< p...
<<<<<<< ======= import com.amazonaws.services.dynamodbv2.AmazonDynamoDB; import org.apereo.cas.category.DynamoDbCategory; >>>>>>> import org.apereo.cas.category.DynamoDbCategory;
<<<<<<< public void verifyLogoutNoCookie() throws Exception { final var properties = new LogoutProperties(); ======= public void verifyLogoutNoCookie() { final LogoutProperties properties = new LogoutProperties(); >>>>>>> public void verifyLogoutNoCookie() { final var properties =...
<<<<<<< final var messageContext = context.getMessageContext(); messageContext.addMessage(new MessageBuilder().error() .code(DEFAULT_MESSAGE_BUNDLE_PREFIX.concat(e.getClass().getSimpleName())).build()); ======= final MessageContext messageContext = context.getMessag...
<<<<<<< protected Event doExecute(final RequestContext requestContext) { final var request = WebUtils.getHttpServletRequestFromExternalWebflowContext(requestContext); final var service = this.authenticationRequestServiceSelectionStrategies.resolveService(WebUtils.getService(requestContext)); ...
<<<<<<< /** Logger instance. **/ protected final Logger logger = LoggerFactory.getLogger(getClass()); /** * Binder that allows additional binding of form object beyond Spring * defaults. */ private CredentialsBinder credentialsBinder; ======= >>>>>>> /** Logger instance. **/ ...
<<<<<<< final var contentString = text.getText(); if (!contentString.isEmpty()) { ======= final String contentString = text.getText(); if (!contentString.isEmpty() && contentString.trim().isEmpty()) { >>>>>>> final var contentString = text.getText(); if (!contentString...
<<<<<<< final PasswordManagementService passwordManagementService, final CasConfigurationProperties casProperties) { final var token = passwordManagementService.createToken(username); ======= final PasswordManagement...
<<<<<<< var certHeaderValue = getCertFromHeader(request); if (StringUtils.isNotBlank(certHeaderValue)) { certHeaderValue = StringUtils.trim(certHeaderValue); if (certHeaderValue.length() > X509_HEADER.length()) { var body = certHeaderValue.substring(X509_HEADER.l...
<<<<<<< ======= import lombok.val; >>>>>>> import lombok.val; <<<<<<< ======= private static final String TEST = "test"; @Test public void verifySaveAndRemoveFromCache() throws InterruptedException { val service = new RegexRegisteredService(); service.setId(4100); service.s...
<<<<<<< final var h = new JaasAuthenticationHandler(jaas.getName(), servicesManager, jaasPrincipalFactory(), jaas.getOrder()); ======= final JaasAuthenticationHandler h = new JaasAuthenticationHandler(jaas.getName(), servicesManager, jaasPrincipalFactory...
<<<<<<< final var authentication = builder.build(); final var principal = authentication.getPrincipal(); final var surrogateCredentials = (SurrogateUsernamePasswordCredential) transaction.getPrimaryCredential().get(); final var targetUserId = surrogateCredentials.getSurrogateUsername(); ...
<<<<<<< final var principal = authentication.getPrincipal(); final var results = GrouperFacade.getGroupsForSubjectId(principal.getId()); ======= final Principal principal = authentication.getPrincipal(); final Collection<WsGetGroupsResult> results = grouperFacade.getGroupsForSubjectId(...
<<<<<<< public void verifyLocalLogoutUrlWithInvalidRegExValidationAndLocalUrlNotAllowed() throws Exception { final var svc = getRegisteredService(".+"); ======= public void verifyLocalLogoutUrlWithInvalidRegExValidationAndLocalUrlNotAllowed() { final AbstractRegisteredService svc = getRegister...
<<<<<<< import org.jasig.cas.util.HttpClient; ======= import org.jasig.cas.authentication.principal.SimplePrincipal; import org.jasig.cas.util.http.HttpClient; >>>>>>> import org.jasig.cas.util.http.HttpClient;
<<<<<<< if (token.isPresent() && token.get().equalsIgnoreCase(c.getId())) { final var principal = principalFactory.createPrincipal(c.getId()); ======= if (token.isPresent() && token.get().equalsIgnoreCase(c.getPassword())) { final Principal principal = principalFactory.createPr...
<<<<<<< import org.jasig.cas.util.ISOStandardDateFormat; import org.jasig.cas.util.UniqueTicketIdGenerator; ======= >>>>>>> import org.jasig.cas.util.ISOStandardDateFormat;
<<<<<<< final var dt = ZonedDateTime.now().plusSeconds(expirationPolicy.getTimeToLive()); final var validUntilDate = DateTimeUtils.dateOf(dt); return buildJwt(ticketGrantingTicket.getId(), casSeverPrefix, ======= final ZonedDateTime dt = ZonedDateTime.now().plusSeconds(expirationPolicy...
<<<<<<< private static class TestDistributedTicketRegistry extends AbstractDistributedTicketRegistry { private final DistributedTicketRegistryTests parent; private Map<String, Ticket> tickets = new HashMap<String, Ticket>(); ======= protected class TestDistributedTicketRegistry extends Abstrac...
<<<<<<< import org.apache.commons.lang3.StringUtils; import org.jasig.cas.authentication.Authentication; import org.jasig.cas.authentication.AuthenticationResult; import org.jasig.cas.authentication.AuthenticationResultBuilder; ======= >>>>>>> import org.jasig.cas.authentication.Authentication; import org.jasig.cas....
<<<<<<< private void createTransitionStateToAcceptableUsagePolicy(final Flow flow) { final var submit = getRealSubmissionState(flow); ======= /** * Create transition state to acceptable usage policy. * * @param flow the flow */ protected void createTransitionStateToAcceptableUs...
<<<<<<< final var props = new Properties(); final var secretsManager = getAmazonSecretsManagerClient(environment); ======= final Properties props = new Properties(); >>>>>>> final var props = new Properties(); <<<<<<< final var listRequest = new ListSecretsRequest(); ...
<<<<<<< public void unauthorizedServiceProvided() throws Exception { final var mockRequestContext = new MockRequestContext(); ======= public void unauthorizedServiceProvided() { final MockRequestContext mockRequestContext = new MockRequestContext(); >>>>>>> public void unauthorizedService...
<<<<<<< final var textMagic = casProperties.getSmsProvider().getTextMagic(); return new TextMagicSmsSender(textMagic.getUsername(), textMagic.getToken()); ======= final TextMagicProperties textMagic = casProperties.getSmsProvider().getTextMagic(); return new TextMagicSmsSender(textMagi...
<<<<<<< final var principal = createPrincipal(); final RegisteredService service = addRegisteredService(); final var code = addCode(principal, service); ======= final Principal principal = createPrincipal(); final OAuthRegisteredService service = addRegisteredService(); ...
<<<<<<< import org.apereo.cas.trusted.web.MultifactorTrustedDevicesReportEndpoint; import org.apereo.cas.trusted.web.flow.DeviceFingerprintStrategy; import org.apereo.cas.trusted.web.flow.MultifactorAuthenticationSetTrustAction; import org.apereo.cas.trusted.web.flow.MultifactorAuthenticationVerifyTrustAction; =======...
<<<<<<< final var responseEntity = restTemplate.exchange(this.url, HttpMethod.GET, ======= final String url = StringUtils.appendIfMissing(this.url, "/").concat(String.valueOf(id)); final ResponseEntity<RegisteredService> responseEntity = restTemplate.exchange(url, HttpMethod.GET, >>>>>>> ...
<<<<<<< final TicketException t = new InvalidTicketException(); ======= TicketException t = new InvalidTicketException("InvalidTicketId"); >>>>>>> TicketException t = new InvalidTicketException("InvalidTicketId"); <<<<<<< final AuthenticationException a = new BadCredentialsAuthentica...
<<<<<<< final var cloud = casProperties.getAuthn().getCloudDirectory(); return AmazonCloudDirectoryClientBuilder.standard() ======= final CloudDirectoryProperties cloud = casProperties.getAuthn().getCloudDirectory(); final AwsClientBuilder.EndpointConfiguration endpoint = new AwsClien...
<<<<<<< PreferenceManager.getDefaultSharedPreferences(this).registerOnSharedPreferenceChangeListener(this); ======= Timber.Tree tree = BuildConfig.DEBUG ? new Timber.DebugTree() : new Timber.HollowTree(); Timber.plant(tree); >>>>>>> PreferenceManager.getDefaultSharedPreferences(this)....
<<<<<<< import java.util.concurrent.TimeUnit; ======= import java.util.concurrent.ArrayBlockingQueue; >>>>>>> import java.util.concurrent.TimeUnit; import java.util.concurrent.ArrayBlockingQueue;
<<<<<<< if (accessedTime != null && accessedTime != 0) { fileDetails.add(new RecentFileDetails(artifact, path, accessedTime)); } ======= List<RecentFileDetails> details = provider.get().getBlackboard() .getArtifacts(ARTIFACT_TYPE.TSK_RECENT_OBJECT.getTyp...
<<<<<<< //Outer concurrent hashmap with keys of JobID, inner concurrentHashmap with keys of objectID private static final ConcurrentHashMap<Long, ConcurrentHashMap<Long, Archive>> mapOfDepthTrees = new ConcurrentHashMap<>(); private static final IngestModuleReferenceCounter refCounter = new IngestModuleRefe...
<<<<<<< synchronized public void unRegisterForEvents(Object listener) { eventbus.unregister(0); ======= synchronized public void unRegisterForEvents(Object o) { eventbus.unregister(o); >>>>>>> synchronized public void unRegisterForEvents(Object listener) { eventbus.unregister(o);
<<<<<<< statement.execute(String.format(addObjectIdIndexTemplate, wirelessNetworksTableInstanceName, wirelessNetworksTableInstanceName)); //create a new mac_address_instances table and add indexes for its columns statement.execute(String.format(addSsidTa...
<<<<<<< import static java.util.Objects.isNull; ======= >>>>>>> <<<<<<< public TagName getFollowUpTagName() throws TskCoreException { synchronized (autopsyTagsManagerLock) { if (isNull(followUpTagName)) { followUpTagName = getTagName(Bundle.DrawableTagsManager_followUp()); ...
<<<<<<< import org.sleuthkit.autopsy.casemodule.Case; import org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance; import org.sleuthkit.autopsy.centralrepository.datamodel.EamDbException; import org.sleuthkit.datamodel.AbstractFile; import org.sleuthkit.datamodel.DataSource; import org.sleuthk...
<<<<<<< private CaseType caseType; private Services services; ======= private final Services services; >>>>>>> private CaseType caseType; private final Services services; <<<<<<< Case newCase = new Case(caseName, caseNumber, examiner, configFilePath, xmlcm, db, caseType); ======= ...
<<<<<<< ======= boolean caseIsClosing; PeriodicHealthMonitorTask(boolean caseIsClosing) { this.caseIsClosing = caseIsClosing; } /** * Perform all periodic tasks: * - Check if monitoring has been enabled / disabled in the database ...
<<<<<<< // Deferring becoming a listener to the tabbed pane until this point // eliminates handling a superfluous stateChanged event during construction. if (listeningToTabbedPane == false) { dataResultTabbedPanel.addChangeListener(this); listeningToTabbedPane = t...
<<<<<<< splitPane.setDividerLocation(600); splitPane.setResizeWeight(0.7); ======= splitPane.setDividerLocation(400); splitPane.setResizeWeight(0.3); >>>>>>> splitPane.setDividerLocation(400); splitPane.setResizeWeight(0.7); <<<<<<< .addGap(0, 591, Short.M...
<<<<<<< boolean unpack(AbstractFile archiveFile, String password) { boolean unpackSuccessful = true; //initialized to true change to false if any files fail to extract and boolean hasEncrypted = false; boolean fullEncryption = true; boolean progressStarted = false; int proces...
<<<<<<< ======= import org.openide.util.Exceptions; import org.openide.util.NbBundle; >>>>>>> import org.openide.util.NbBundle; <<<<<<< ======= public static final String MODULE_NAME = NbBundle.getMessage(FileExtMismatchIngestModule.class, "File...
<<<<<<< /** * Lucene regular expressions do not support the following Java predefined * and POSIX character classes. There are other valid Java character classes * that are not supported by Lucene but we do not check for all of them. See * https://docs.oracle.com/javase/8/docs/api/java/util/rege...
<<<<<<< jFile = new java.io.File(openCase.getTempDirectory(), AF.getName().replaceAll("[<>%|\"/:*\\\\]", "")); ContentUtils.writeToFile(AF, jFile, context::dataSourceIngestIsCancelled); //copyFileUsingStreams(AF,jFile); //copyFileUsingStrea...
<<<<<<< private final Option getAllDataSourcesCommandOption = Option.withoutArgument('g', "getAllDataSources"); private final Option configFilePathOption = Option.withoutArgument('p', "configFilePath"); ======= private final Option listAllDataSourcesCommandOption = Option.withoutArgument('l', "listAllData...
<<<<<<< Logger.getLogger(AddContentToHashDbAction.class.getName()).log(Level.INFO, "Not adding " + file.getName() + " to database (empty content)"); //NON-NLS JOptionPane.showMessageDialog(WindowManager.getDefault().getMainWindow(), ======= Logge...
<<<<<<< import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.StringUtils; ======= import org.apache.commons.lang3.StringUtils; >>>>>>> import org.apache.commons.lang3.StringUtils; <<<<<<< blackboard = Case.getCurrentCaseThrows().getSleuthkitCase().getBlackboard(); ===...
<<<<<<< static private final String FILE_EXTESNION_CLAUSE = "(name LIKE '%." //NON-NLS + StringUtils.join(FileTypeUtils.getAllSupportedExtensions(), "' or name LIKE '%.") //NON-NLS ======= static private final String FILE_EXTENSION_CLAUSE = "(nam...
<<<<<<< } else if (originNode.getLookup().lookup(ArtifactTypeNode.class) != null) { displayName = originNode.getLookup().lookup(ArtifactTypeNode.class).getDisplayName(); } ======= else if(originNode.get...
<<<<<<< CorrelationAttribute corrAttr = eamDbAttrInst.findSingleCorrelationAttribute(crFileId, currentAttribute.getCorrelationType()); ======= CorrelationAttributeInstance corrAttr = eamDbAttrInst.findSingleCorrelationAttribute(crFileId); >>>>>>> CorrelationAttributeInstance corrAttr = eamDbA...
<<<<<<< private static final String WHERE_CLAUSE = "md5 in (select md5 from tsk_files where md5 in (select md5 from tsk_files where (known != 1 OR known IS NULL) and data_source_obj_id=%s%s) GROUP BY md5 HAVING COUNT(*) > 1) order by md5"; ======= private static final String WHERE_CLAUSE = "%s md5 in (select ...
<<<<<<< public void saveSettings() { // Clear out the list of new central repo hash sets. They don't need to be // indexed so will all be saved on both code paths. newReferenceSetIDs.clear(); ======= public void saveSettings() { // Clear out the list of unsaved h...
<<<<<<< import org.sleuthkit.datamodel.TskData; ======= import org.sleuthkit.datamodel.HashUtility; >>>>>>> import org.sleuthkit.datamodel.TskData; import org.sleuthkit.datamodel.HashUtility; <<<<<<< // maps row ID to value private final Map<Integer, String> intercaseCommonValuesMap = new HashMap<>(); /...
<<<<<<< if (theCase.getCaseType() == CaseType.MULTI_USER_CASE) { // select number of shards to use numShardsToUse = getNumShardsToUse(); } } catch (SolrServerException | IOException ex) { ======= } catch (Exception ex) { // intentiona...
<<<<<<< /** * * @param tableName the value of tableName * @param columnList the value of columnList */ private void createEventsIndex(final List<EventTableColumn> columnList) { createIndex("events", columnList.stream().map(EventTableColumn::toString).collect(Collecto...
<<<<<<< import java.util.logging.Level; ======= import java.nio.BufferUnderflowException; >>>>>>> import java.nio.BufferUnderflowException; import java.util.logging.Level;
<<<<<<< import javax.annotation.Nullable; ======= import javafx.scene.image.WritableImage; import javax.annotation.Nullable; >>>>>>> import javafx.scene.image.WritableImage; import javax.annotation.Nullable; <<<<<<< import org.sleuthkit.datamodel.ReadContentInputStream; ======= import org.sleuthkit.autopsy.imageg...
<<<<<<< actions.add(AddContentTagAction.getInstance()); ======= actions.add(TagAbstractFileAction.getInstance()); actions.addAll(ContextMenuExtensionPoint.getActions()); >>>>>>> actions.add(AddContentTagAction.getInstance()); actions.addAll(ContextMenuE...
<<<<<<< if (JOptionPane.showConfirmDialog(this, NbBundle.getMessage(this.getClass(), "HashDbConfigPanel.deleteDbActionConfirmMsg"), NbBundle.getMessage(this.getClass(), "HashDbConfigPanel.deleteDbActionMsg"), ======= if (JOptionPane.showConfirmDi...
<<<<<<< ======= KeywordSearchListsXML loader = KeywordSearchListsXML.getCurrent(); >>>>>>> <<<<<<< updateKeywords(); ======= for (KeywordSearchList list : loader.getListsL()) { if (list.getUseForIngest()) { keywords.addAll(list.getKeywords()...
<<<<<<< private static final int MAX_EXTR_TEXT_CHARS = 512 * 1024; //chars private static final int SINGLE_READ_CHARS = 1024; private static final int EXTRA_CHARS = 128; ======= >>>>>>>
<<<<<<< this.percentageThreshold.getDocument().addDocumentListener(new DocumentListener() { private Dimension preferredSize = CommonAttributePanel.this.percentageThreshold.getPreferredSize(); private void maintainSize() { CommonAttributePanel.this.percentageThreshold.s...
<<<<<<< import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.util.List; import java.util.logging.Level; ======= import java.util.List; >>>>>>> import java.util.List; <<<<<<< import javax.swing.JPanel; import javax.swing.SwingUtilities; import org.sleuthkit.autopsy.casemodule....
<<<<<<< * * Copyright 2012-2018 Basis Technology Corp. * ======= * * Copyright 2012-2019 Basis Technology Corp. * >>>>>>> * * Copyright 2012-2019 Basis Technology Corp. * <<<<<<< private final List<Extract> extracters = new ArrayList<>(); private final List<Extract> browserExtracters = new ArrayLis...
<<<<<<< private IFramePerspectiveConfiguration prepareResult(IFramePerspectiveConfigurationItem perspectiveConfigurationItem) { if (perspectiveConfigurationItem == null) { return null; } else { return configurationItemToConfiguration(perspectiveConfigurationItem); } ...