code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
package org.signal.lint;
import com.android.tools.lint.client.api.IssueRegistry;
import com.android.tools.lint.detector.api.ApiKt;
import com.android.tools.lint.detector.api.Issue;
import java.util.Arrays;
import java.util.List;
@SuppressWarnings("UnstableApiUsage")
public final class Registry extends IssueRegistry ... | cascheberg/Signal-Android | lintchecks/src/main/java/org/signal/lint/Registry.java | Java | gpl-3.0 | 763 |
/*
* This file is part of EchoPet.
*
* EchoPet is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EchoPet is distributed in th... | UnlimitedFreedom/UF-EchoPet | modules/v1_7_R4/src/main/java/com/dsh105/echopet/compat/nms/v1_7_R4/entity/ai/PetGoalFollowOwner.java | Java | gpl-3.0 | 5,341 |
/** __ __
* _____ _/ /_/ /_ Computational Intelligence Library (CIlib)
* / ___/ / / / __ \ (c) CIRG @ UP
* / /__/ / / / /_/ / http://cilib.net
* \___/_/_/_/_.___/
*/
package net.sourceforge.cilib.pso.hpso;
import static fj.data.List.iterableList;
import static fj.function.Doubles.sum;
imp... | krharrison/cilib | library/src/main/java/net/sourceforge/cilib/pso/hpso/AdaptiveLearningIterationStrategy.java | Java | gpl-3.0 | 13,835 |
package edu.dfci.cccb.mev.test.presets.configuration.persistence.flat;
import javax.inject.Inject;
import javax.inject.Named;
import javax.sql.DataSource;
import lombok.extern.log4j.Log4j;
import org.apache.commons.dbcp.BasicDataSource;
import org.springframework.context.annotation.Bean;
import org.springframework.c... | apartensky/mev | presets/rest/src/test/java/edu/dfci/cccb/mev/test/presets/configuration/persistence/flat/TestPresetsDatasetFlatTableConfig.java | Java | gpl-3.0 | 2,100 |
/**
* License Agreement for OpenSearchServer
*
* Copyright (C)2011-2012 Emmanuel Keller / Jaeksoft
*
* http://www.open-search-server.com
*
* This file is part of OpenSearchServer.
*
* OpenSearchServer is free software: you can redistribute it and/or
* modify it under the terms of the GNU General Public L... | nvoron23/opensearchserver | src/main/java/com/jaeksoft/searchlib/render/RenderSearchJson.java | Java | gpl-3.0 | 3,333 |
package hr.org.foi.azure.api.services;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for deleteBlobContainerResponse complex type.
*
* <p>The following s... | dandrocec/PaaSInterop | SemanticCloudClient/build/generated/jax-wsCache/AzureServices/hr/org/foi/azure/api/services/DeleteBlobContainerResponse.java | Java | gpl-3.0 | 1,483 |
/*
* Copyright (c) 2009, SQL Power Group Inc.
*
* This file is part of SQL Power Library.
*
* SQL Power Library is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or... | malikoski/sqlpower-library | src/test/java/ca/sqlpower/object/VariablesTest.java | Java | gpl-3.0 | 11,684 |
package org.bukkit;
import java.util.Map;
import com.google.common.collect.Maps;
import org.bukkit.block.BlockFace;
import org.bukkit.material.MaterialData;
import org.bukkit.potion.Potion;
/**
* A list of effects that the server is able to send to players.
*/
public enum Effect {
/**
* An alternate clic... | MrDiamond123/Spigot-API | src/main/java/org/bukkit/Effect.java | Java | gpl-3.0 | 8,685 |
package org.thoughtcrime.securesms.crypto;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import org.thoughtcrime.securesms.crypto.protocol.KeyExchangeMessage;
import org.thoughtcrime.securesms.crypto.protocol.KeyExchangeMessageV1;
import org.thoughtcrime.securesms.database.Da... | ThirdProject/android_external_whispersystems_TextSecure | src/org/thoughtcrime/securesms/crypto/KeyExchangeProcessorV1.java | Java | gpl-3.0 | 6,607 |
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contr... | oliverm-be/geomajas | plugin/geomajas-plugin-editing/editing-javascript-api/src/main/java/org/geomajas/plugin/editing/jsapi/client/service/JsGeometryOperationFailedException.java | Java | agpl-3.0 | 1,581 |
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contr... | olivermay/geomajas | plugin/geomajas-plugin-printing/printing/src/main/java/org/geomajas/plugin/printing/parser/FontConverter.java | Java | agpl-3.0 | 1,829 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2012-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | tdefilip/opennms | features/topology-map/org.opennms.features.topology.app/src/test/java/org/opennms/features/topology/app/internal/TestContextMenuBuilder.java | Java | agpl-3.0 | 4,075 |
/* Copyright 2012 SpringSource.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | malmostad/eservices-platform | tdocbox/plugins/cache-1.0.1/src/java/grails/plugin/cache/Timer.java | Java | agpl-3.0 | 1,353 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2012-2014 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2014 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | roskens/opennms-pre-github | features/juniper-tca-collector/src/main/java/org/opennms/netmgt/collectd/tca/TcaCollectionAttribute.java | Java | agpl-3.0 | 2,665 |
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2013 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contr... | olivermay/geomajas | backend/command/src/main/java/org/geomajas/command/dto/SearchByLocationRequest.java | Java | agpl-3.0 | 12,459 |
/*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2016 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2016 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(R) is... | aihua/opennms | features/ticketing/jira-integration/src/main/java/org/opennms/netmgt/ticketer/jira/cache/CacheSupplier.java | Java | agpl-3.0 | 1,319 |
package org.exist.util;
/**
* A pool for byte arrays.
*
* This pool is primarily used while parsing documents: serializing the
* DOM nodes generates a lot of small byte chunks. Only byte arrays
* with length < MAX are kept in the pool. Large arrays are rarely
* reused.
*/
public class ByteArrayPool {
publ... | kingargyle/exist-1.4.x | src/org/exist/util/ByteArrayPool.java | Java | lgpl-2.1 | 1,414 |
package org.intermine.web.logic.widget;
/*
* Copyright (C) 2002-2015 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/le... | joshkh/intermine | intermine/web/main/src/org/intermine/web/logic/widget/EnrichmentInputWidgetLdr.java | Java | lgpl-2.1 | 6,808 |
/*
* #%L
* Alfresco Repository WAR Community
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* prov... | Alfresco/community-edition | projects/web-client/source/java/org/alfresco/web/ui/repo/component/UINavigator.java | Java | lgpl-3.0 | 16,598 |
/*
* Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | XidongHuang/aws-sdk-for-java | src/main/java/com/amazonaws/services/simpleworkflow/model/CountPendingDecisionTasksRequest.java | Java | apache-2.0 | 5,306 |
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.diff.impl.dir.actions.popup;
import com.intellij.ide.diff.DiffType;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.opena... | goodwinnk/intellij-community | platform/diff-impl/src/com/intellij/openapi/diff/impl/dir/actions/popup/CancelComparingNewFilesWithEachOtherAction.java | Java | apache-2.0 | 1,542 |
package com.ctrip.hermes.core.message;
import java.util.concurrent.atomic.AtomicLong;
import com.ctrip.hermes.core.result.CompletionCallback;
import com.ctrip.hermes.core.result.SendResult;
public class ProducerMessage<T> {
private String m_topic;
private T m_body;
private String m_key;
private boolean m_prio... | ctripcorp/hermes | hermes-core/src/main/java/com/ctrip/hermes/core/message/ProducerMessage.java | Java | apache-2.0 | 3,230 |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | googleapis/google-api-java-client-services | clients/google-api-services-serviceusage/v1beta1/1.31.0/com/google/api/services/serviceusage/v1beta1/model/GetServiceIdentityResponse.java | Java | apache-2.0 | 3,219 |
/*
* Copyright (C) 2013 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | AndroidX/androidx | samples/Support4Demos/src/main/java/com/example/android/supportv4/text/BidiFormatterSupport.java | Java | apache-2.0 | 1,758 |
/*
* Copyright (C) 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | shakamunyi/beam | sdk/src/main/java/com/google/cloud/dataflow/sdk/coders/Coder.java | Java | apache-2.0 | 11,444 |
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | asedunov/intellij-community | java/java-tests/testSrc/com/intellij/java/psi/ConstantEvaluatorTest.java | Java | apache-2.0 | 2,105 |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.optaplanner;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.GeneratedPropertyConfigurer;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.util.CaseInse... | DariusX/camel | components/camel-optaplanner/src/generated/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurer.java | Java | apache-2.0 | 2,364 |
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | romankagan/DDBWorkbench | platform/xdebugger-api/src/com/intellij/xdebugger/frame/XValueGroup.java | Java | apache-2.0 | 1,487 |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | facebook/buck | src/com/facebook/buck/util/types/Either.java | Java | apache-2.0 | 4,795 |
/*
* Copyright 2000-2010 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | michaelgallacher/intellij-community | java/java-impl/src/com/intellij/refactoring/rename/naming/AutomaticTestRenamerFactory.java | Java | apache-2.0 | 3,761 |
/*
* Copyright 2014 Yahoo! Inc.
*
* Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wri... | charlesk40/artifactory_ssh_proxy | src/main/java/com/yahoo/sshd/tools/artifactory/ChildArtifact.java | Java | apache-2.0 | 2,918 |
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | googleapis/google-api-java-client-services | clients/google-api-services-androidenterprise/v1/1.29.2/com/google/api/services/androidenterprise/model/TokenPagination.java | Java | apache-2.0 | 2,544 |
/**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... | vbonamy/esup-uportal | uportal-war/src/main/java/org/jasig/portal/permission/target/IPermissionTargetProviderRegistry.java | Java | apache-2.0 | 1,648 |
/**
* Copyright (c) 2008-2013, http://www.snakeyaml.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | henryyan/snakeyaml | src/main/java/org/yaml/snakeyaml/events/CollectionEndEvent.java | Java | apache-2.0 | 923 |
/*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | mbiarnes/drools | kie-pmml-trusty/kie-pmml-models/kie-pmml-models-drools/kie-pmml-models-drools-common/src/test/java/org/kie/pmml/models/drools/commons/implementations/HasKnowledgeBuilderMock.java | Java | apache-2.0 | 2,299 |
package liquibase.integration.ant;
import liquibase.Contexts;
import liquibase.LabelExpression;
import liquibase.Liquibase;
import org.apache.tools.ant.BuildException;
import java.io.Writer;
/**
* Ant task for rolling back a database.
*/
public class DatabaseRollbackFutureTask extends BaseLiquibaseTask {
@Ove... | valentinomiazzo/liquibase | liquibase-core/src/main/java/liquibase/integration/ant/DatabaseRollbackFutureTask.java | Java | apache-2.0 | 1,015 |
/*
* Copyright 2019 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | varshavaradarajan/gocd | server/src/main/java/com/thoughtworks/go/server/controller/StageController.java | Java | apache-2.0 | 6,879 |
/*******************************************************************************
* Copyright © 2012-2015 eBay Software Foundation
* This program is dual licensed under the MIT and Apache 2.0 licenses.
* Please see LICENSE for more information.
*****************************************************************... | pcler/jetstream | jetstreamcore/src/main/java/com/ebay/jetstream/util/offheap/map/OffHeapMapUtilClass.java | Java | apache-2.0 | 3,129 |
/*
* This file is part of FTB Launcher.
*
* Copyright © 2012-2014, FTB Launcher Contributors <https://github.com/Slowpoke101/FTBLaunch/>
* FTB Launcher is licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of t... | juju790/FTNTLauncher_1.7Fix | src/main/java/net/ftb/gui/panes/ThirdPartyPane.java | Java | apache-2.0 | 9,095 |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | PHILO-HE/SSM | smart-engine/src/test/java/org/smartdata/server/engine/cmdlet/TestCmdletDescriptor.java | Java | apache-2.0 | 2,278 |
/*
Derby - Class org.apache.derby.impl.services.daemon.SingleThreadDaemonFactory
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses ... | kavin256/Derby | java/engine/org/apache/derby/impl/services/daemon/SingleThreadDaemonFactory.java | Java | apache-2.0 | 2,526 |
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | flofreud/aws-sdk-java | aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/RebuildWorkspacesRequest.java | Java | apache-2.0 | 5,649 |
/*
* Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | tombujok/hazelcast | hazelcast-client/src/test/java/com/hazelcast/client/internal/diagnostics/SystemLogPluginConnectionTest.java | Java | apache-2.0 | 2,618 |
package liquibase.sqlgenerator;
import liquibase.database.Database;
import liquibase.exception.DatabaseException;
import liquibase.executor.ExecutorService;
import liquibase.statement.SqlStatement;
import liquibase.statement.core.CreateTableStatement;
import liquibase.test.TestContext;
import org.junit.Test;
import j... | NSIT/liquibase | liquibase-core/src/test/java/liquibase/sqlgenerator/AbstractSqlGeneratorTest.java | Java | apache-2.0 | 2,598 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | ilantukh/ignite | modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpiRandomStartStopTest.java | Java | apache-2.0 | 1,340 |
/*************************GO-LICENSE-START*********************************
* Copyright 2014 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache... | varshavaradarajan/gocd | common/src/main/java/com/thoughtworks/go/domain/XmlRepresentable.java | Java | apache-2.0 | 1,078 |
/**
* Copyright 2015 LinkedIn Corp. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | shpark76/WhereHows | wherehows-common/src/main/java/wherehows/common/schemas/DatasetConstraintRecord.java | Java | apache-2.0 | 3,126 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | sshcherbakov/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/parse/ASTPostfix.java | Java | apache-2.0 | 2,356 |
package liquibase;
import liquibase.util.StringUtils;
import java.util.*;
public class Labels {
private HashSet<String> labels = new HashSet<String>();
public Labels() {
}
public Labels(String... labels) {
if (labels.length == 1) {
parseLabelString(labels[0]);
} else {
... | valentinomiazzo/liquibase | liquibase-core/src/main/java/liquibase/Labels.java | Java | apache-2.0 | 1,438 |
/*
Copyright 2014 OPM.gov
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | NASA-Tournament-Lab/CoECI-OPM-Service-Credit-Redeposit-Deposit-Application | Code/SCRD_BRE/src/java/core/gov/opm/scrd/entities/lookup/CalculationEndDateCalculationType.java | Java | apache-2.0 | 1,663 |
/*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | pleacu/jbpm | jbpm-services/jbpm-executor/src/test/java/org/jbpm/executor/objects/IncrementService.java | Java | apache-2.0 | 869 |
package org.edx.mobile.view;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.content.Loader;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import org.edx.mobile.R;
import org.edx.mobile.exception.AuthExce... | miptliot/edx-app-android | VideoLocker/src/main/java/org/edx/mobile/view/MyCourseListTabFragment.java | Java | apache-2.0 | 4,903 |
/*
* Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required ... | tombujok/hazelcast | hazelcast/src/main/java/com/hazelcast/map/impl/recordstore/LazyEntryViewFromRecord.java | Java | apache-2.0 | 5,666 |
/*
* Copyright 2013, 2014 Deutsche Nationalbibliothek
*
* Licensed under the Apache License, Version 2.0 the "License";
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | schaeferd/metafacture-core | src/main/java/org/culturegraph/mf/stream/converter/JsonEncoder.java | Java | apache-2.0 | 6,244 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | robertgeiger/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/cache/query/internal/cq/ClientCQ.java | Java | apache-2.0 | 1,713 |
/*
* Copyright (c) 2012, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | mpmunasinghe/product-ei | samples/business-process-samples/product/process-tools/src/main/java/org/wso2/ei/businessprocess/utils/processcleanup/RegistryCleaner.java | Java | apache-2.0 | 6,179 |
/*
* Copyright 2014-2016 CyberVision, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | forGGe/kaa | server/node/src/main/java/org/kaaproject/kaa/server/operations/service/akka/actors/core/user/GlobalUserActorMessageProcessor.java | Java | apache-2.0 | 10,282 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | clarkyzl/flink | flink-connectors/flink-connector-hbase-base/src/main/java/org/apache/flink/connector/hbase/sink/LegacyMutationConverter.java | Java | apache-2.0 | 1,953 |
/**
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in ... | vbonamy/esup-uportal | uportal-war/src/main/java/org/jasig/portal/IUserIdentityStore.java | Java | apache-2.0 | 3,014 |
/*
* Copyright 2004,2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | wso2/wso2-rampart | modules/rampart-trust/src/main/java/org/apache/rahas/TokenRequestDispatcherConfig.java | Java | apache-2.0 | 18,192 |
/*
* Copyright 2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | SaiNadh001/aws-sdk-for-java | src/main/java/com/amazonaws/services/simpleworkflow/flow/core/ExternalTaskCompletionHandle.java | Java | apache-2.0 | 1,189 |
/*
* Copyright 2018 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | Rikkola/kie-wb-common | kie-wb-common-stunner/kie-wb-common-stunner-extensions/kie-wb-common-stunner-forms/kie-wb-common-stunner-forms-client/src/test/java/org/kie/workbench/common/stunner/forms/client/session/command/GenerateDiagramFormsSessionCommandTest.java | Java | apache-2.0 | 2,168 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache/wink | wink-itests/wink-itest/wink-itest-extra-providers/src/main/java/org/apache/wink/jaxrs/test/atom/Author.java | Java | apache-2.0 | 1,425 |
/*
* Copyright (c) 2015 Spotify AB.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License,... | lucilecoutouly/heroic | heroic-core/src/main/java/com/spotify/heroic/shell/task/ParseQuery.java | Java | apache-2.0 | 3,912 |
/**
* Copyright Notice
*
* This is a work of the U.S. Government and is not subject to copyright
* protection in the United States. Foreign copyrights may apply.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obt... | Apelon-VA/va-isaac-gui | list-view/src/main/java/gov/va/isaac/gui/listview/operations/LogicNegateRelationshipValue.java | Java | apache-2.0 | 3,779 |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | Guavus/hbase | hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/ProcedureWALFormat.java | Java | apache-2.0 | 7,942 |
/**
* Copyright 2014-2016 CyberVision, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | forGGe/kaa | server/common/dao/src/main/java/org/kaaproject/kaa/server/common/dao/service/InternalCredentialsService.java | Java | apache-2.0 | 4,691 |
/*******************************************************************************
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this... | yuri0x7c1/ofbiz-explorer | src/test/resources/apache-ofbiz-16.11.03/applications/product/src/main/java/org/apache/ofbiz/product/product/ProductWorker.java | Java | apache-2.0 | 65,164 |
package info.novatec.testit.webtester.pageobjects;
import info.novatec.testit.webtester.api.annotations.Mapping;
import info.novatec.testit.webtester.api.callbacks.PageObjectCallbackWithReturnValue;
import info.novatec.testit.webtester.api.exceptions.PageObjectIsDisabledException;
import info.novatec.testit.webtester.... | testIT-WebTester/webtester-core | webtester-core/src/main/java/info/novatec/testit/webtester/pageobjects/RadioButton.java | Java | apache-2.0 | 2,290 |
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | zwets/flowable-engine | modules/flowable5-engine/src/main/java/org/activiti/engine/impl/jobexecutor/AsyncJobAddedNotification.java | Java | apache-2.0 | 2,272 |
package ca.uhn.fhir.tinder.util;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter;
import ca.uhn.fhir.context.FhirContext;
import ca.uhn.fhir.model.dstu2.composite.NarrativeDt;
import ca.uhn.fhir.model.dstu2.resource.BaseResource;
import ca.uhn.fhir.model... | lcamilo15/hapi-fhir | hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/util/SyncUtil.java | Java | apache-2.0 | 1,165 |
/**
* Copyright 2014 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | tilal6991/RxJava | src/test/java/rx/internal/operators/NotificationLiteTest.java | Java | apache-2.0 | 1,863 |
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | android-ia/platform_tools_idea | platform/analysis-impl/src/com/intellij/codeInspection/ex/GlobalInspectionToolWrapper.java | Java | apache-2.0 | 2,596 |
package org.springside.examples.showcase.ws.server.impl.security;
import java.io.IOException;
import javax.security.auth.callback.Callback;
import javax.security.auth.callback.CallbackHandler;
import javax.security.auth.callback.UnsupportedCallbackException;
import org.apache.ws.security.WSPasswordCallback;
... | yangjiandong/sshapp | examples/showcase/src/main/java/org/springside/examples/showcase/ws/server/impl/security/PlainPasswordCallback.java | Java | apache-2.0 | 1,880 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | englishtown/oltu | jose/jws/src/main/java/org/apache/oltu/jose/jws/signature/package-info.java | Java | apache-2.0 | 859 |
/*
Copyright 2014 OPM.gov
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | NASA-Tournament-Lab/CoECI-OPM-Service-Credit-Redeposit-Deposit-Application | Code/SCRD_BRE/src/java/core/gov/opm/scrd/entities/lookup/ApprovalStatus.java | Java | apache-2.0 | 1,136 |
/*
* Copyright 2002-2012 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | QBNemo/spring-mvc-showcase | src/main/java/org/springframework/web/servlet/config/DefaultServletHandlerBeanDefinitionParser.java | Java | apache-2.0 | 3,644 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | tabish121/activemq-artemis | tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/jms/ActiveMQDestinationTest.java | Java | apache-2.0 | 4,241 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | nikhilvibhav/camel | core/camel-core-reifier/src/main/java/org/apache/camel/reifier/ResequenceReifier.java | Java | apache-2.0 | 6,611 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | GlenRSmith/elasticsearch | qa/os/src/test/java/org/elasticsearch/packaging/util/ServerUtils.java | Java | apache-2.0 | 21,282 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | nizhikov/ignite | examples/src/main/java/org/apache/ignite/examples/ml/tutorial/hyperparametertuning/Step_16_Genetic_Programming_Search.java | Java | apache-2.0 | 9,490 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | sankarh/hive | jdbc/src/java/org/apache/hive/jdbc/HiveQueryResultSet.java | Java | apache-2.0 | 15,470 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... | glaucio-melo-movile/activemq-artemis | artemis-core-client/src/main/java/org/apache/activemq/artemis/core/transaction/impl/XidImpl.java | Java | apache-2.0 | 5,668 |
/**
* Copyright 2005-2016 Red Hat, Inc.
*
* Red Hat licenses this file to you under the Apache License, version
* 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | jludvice/fabric8 | gateway/gateway-core/src/main/java/io/fabric8/gateway/handlers/detecting/protocol/openwire/codec/v1/RemoveInfoMarshaller.java | Java | apache-2.0 | 4,297 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | knoguchi/druid | server/src/test/java/org/apache/druid/client/cache/CaffeineCacheTest.java | Java | apache-2.0 | 17,501 |
/*
* Copyright 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | pomack/closure-templates | java/tests/com/google/template/soy/bididirectives/BidiUnicodeWrapDirectiveTest.java | Java | apache-2.0 | 4,343 |
/*
Copyright 2016 Goldman Sachs.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writi... | goldmansachs/reladomo | reladomo/src/test/java/com/gs/fw/common/mithra/test/domain/BitemporalOrderStatusList.java | Java | apache-2.0 | 1,106 |
/*
* Copyright 2010-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | XidongHuang/aws-sdk-for-java | src/main/java/com/amazonaws/services/identitymanagement/model/VirtualMFADevice.java | Java | apache-2.0 | 14,606 |
package org.alien4cloud.tosca.editor.operations.inputs;
import org.alien4cloud.tosca.editor.operations.nodetemplate.AbstractNodeOperation;
/**
* Created by lucboutier on 07/09/16.
*/
public class AddInputArtifactOperation extends AbstractNodeOperation {
private String inputName;
private String artifactName;... | broly-git/alien4cloud | alien4cloud-core/src/main/java/org/alien4cloud/tosca/editor/operations/inputs/AddInputArtifactOperation.java | Java | apache-2.0 | 412 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server... | ern/elasticsearch | test/framework/src/main/java/org/elasticsearch/index/mapper/MetadataMapperTestCase.java | Java | apache-2.0 | 4,541 |
/*
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | leafclick/intellij-community | platform/core-impl/src/com/intellij/indentation/AbstractIndentParser.java | Java | apache-2.0 | 5,031 |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | youngwookim/presto | presto-spi/src/main/java/io/prestosql/spi/type/P4HyperLogLogType.java | Java | apache-2.0 | 2,081 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | smgoller/geode | geode-core/src/main/java/org/apache/geode/internal/admin/remote/StatAlertsManagerAssignMessage.java | Java | apache-2.0 | 4,797 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... | smgoller/geode | geode-core/src/jmh/java/org/apache/geode/internal/util/concurrent/MpmcMapLongBenchmark.java | Java | apache-2.0 | 7,077 |
/**
* Copyright 2015 Palantir Technologies
*
* Licensed under the BSD-3 License (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://opensource.org/licenses/BSD-3-Clause
*
* Unless required by applicable law or agreed to in wri... | sh4nth/atlasdb-1 | atlasdb-commons/src/main/java/com/palantir/common/annotation/Immutable.java | Java | bsd-3-clause | 1,084 |
// Copyright (c) 2014, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
package org.rocksdb;
/**
* Th... | tschottdorf/rocksdb | java/org/rocksdb/ReadOptions.java | Java | bsd-3-clause | 4,067 |
/* Copyright (C) 2005-2011 Fabio Riccardi */
package com.lightcrafts.ui.editor;
import static com.lightcrafts.ui.editor.Locale.LOCALE;
import com.lightcrafts.model.Preview;
import com.lightcrafts.ui.LightZoneSkin;
import javax.swing.*;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;
im... | MarinnaCole/LightZone | lightcrafts/src/com/lightcrafts/ui/editor/PreviewTabs.java | Java | bsd-3-clause | 3,377 |
package net.ripe.db.whois.update.domain;
public class X509KeycertId extends AutoKey {
public X509KeycertId(final String space, final int index, final String suffix) {
super(space, index, suffix);
}
@Override
public String toString() {
return new StringBuilder()
.appen... | michelafrinic/WHOIS | whois-update/src/main/java/net/ripe/db/whois/update/domain/X509KeycertId.java | Java | bsd-3-clause | 436 |
/*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
package org.antlr.v4.test.runtime.javascript.firefox;
import org.antlr.v4.test.runtime.BaseRuntimeTest;
import org.ant... | Pursuit92/antlr4 | runtime-testsuite/test/org/antlr/v4/test/runtime/javascript/firefox/TestPerformance.java | Java | bsd-3-clause | 899 |
/*-------------------------------------------------------------------------
*
* Copyright (c) 2005-2011, PostgreSQL Global Development Group
*
*
*-------------------------------------------------------------------------
*/
package org.postgresql.jdbc3;
import java.sql.ParameterMetaData;
import org.postgresql.core.Base... | gabbasb/JDBC-XC | org/postgresql/jdbc3/Jdbc3ParameterMetaData.java | Java | bsd-3-clause | 562 |