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 |
|---|---|---|---|---|---|
/*
* Copyright 2013 Séven Le Mesle
*
* 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... | xebia-france/selma | processor/src/test/java/fr/xebia/extras/selma/it/extend/FailingExtendMapperIT.java | Java | apache-2.0 | 1,290 |
/*
* 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 ... | adelapena/cassandra | src/java/org/apache/cassandra/streaming/StreamManager.java | Java | apache-2.0 | 11,726 |
/*
* Copyright 2012 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 i... | MatthewLM/peercoinj | core/src/main/java/com/matthewmitchell/peercoinj/core/MemoryPoolMessage.java | Java | apache-2.0 | 1,456 |
/*
* #%L
* GwtMaterial
* %%
* Copyright (C) 2015 - 2017 GwtMaterialDesign
* %%
* 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
* ... | marcrh/gwt-material | gwt-material/src/main/java/gwt/material/design/client/ui/MaterialProgress.java | Java | apache-2.0 | 5,159 |
package com.alibaba.otter.canal.client.kafka.protocol;
import com.alibaba.otter.canal.protocol.Message;
import org.springframework.beans.BeanUtils;
/**
* 消息对象(Kafka)
*
* @Author panjianping
* @Email ipanjianping@qq.com
* @Date 2018/12/17
*/
public class KafkaMessage extends Message {
private ... | alibaba/canal | client/src/main/java/com/alibaba/otter/canal/client/kafka/protocol/KafkaMessage.java | Java | apache-2.0 | 807 |
/*
* Copyright 2015-present Open Networking Laboratory
*
* 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 appli... | donNewtonAlpha/onos | core/common/src/test/java/org/onosproject/store/trivial/SimpleIntentStore.java | Java | apache-2.0 | 7,371 |
/*
* 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... | richhaase/kafka | clients/src/test/java/org/apache/kafka/common/security/oauthbearer/internals/unsecured/OAuthBearerUnsecuredLoginCallbackHandlerTest.java | Java | apache-2.0 | 7,097 |
package kochetov.figures;
import kochetov.Cell;
import kochetov.ImpossibleMoveException;
/**
* Figure.
*
* @author Kochetov
* @version $Id$
* @since 0.1
*/
public abstract class Figure {
/**
* Position ob the board.
*/
final Cell position;
/**
* Name figure.
*/
String name;
... | riveserg/Sergey_Kochetov | chapter_002/chess/src/main/java/kochetov/figures/Figure.java | Java | apache-2.0 | 2,483 |
/*
* 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 ... | apache/incubator-shardingsphere | shardingsphere-test/shardingsphere-pipeline-test/src/test/java/org/apache/shardingsphere/data/pipeline/core/fixture/FixtureEnvironmentChecker.java | Java | apache-2.0 | 1,264 |
/*
* Copyright (C) 2012 The Guava 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 applicable law or agre... | trivium-io/trivium-core | src/io/trivium/dep/com/google/common/collect/SortedMultisetBridge.java | Java | apache-2.0 | 1,046 |
/*
* 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 ma... | rmhartog/thrift | lib/java/src/org/apache/thrift/server/TThreadedSelectorServer.java | Java | apache-2.0 | 21,279 |
/*
* 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 ... | apache/incubator-taverna-workbench | taverna-activity-palette-ui/src/main/java/org/apache/taverna/workbench/ui/servicepanel/actions/RemoveDefaultServicesAction.java | Java | apache-2.0 | 1,876 |
/**
*
* Apache License
* Version 2.0, January 2004
* http://www.apache.org/licenses/
*
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
*
* 1. Definitions.
*
* "License" shall mean the terms and condi... | lzyzsd/weex | android/sdk/src/main/java/com/taobao/weex/ui/animation/WXAnimationBean.java | Java | apache-2.0 | 24,283 |
/**
* Copyright (c) 2015 European Organisation for Nuclear Research (CERN), All Rights Reserved.
*/
package org.tensorics.core.reduction;
import java.util.Comparator;
import java.util.List;
import org.tensorics.core.tensor.Tensor;
/**
* An abstract implementation for the linear interpolation of the {@link Double... | tensorics/tensorics-core | src/java/org/tensorics/core/reduction/AbstractLinearDoubleInterpolationStrategy.java | Java | apache-2.0 | 1,858 |
package org.jgroups.jmx;
import org.jgroups.annotations.ManagedOperation;
import org.jgroups.blocks.MethodCall;
import org.jgroups.util.Ref;
import org.jgroups.util.Util;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.*;
/**
* Methods to get/set attributes and invoke operations of... | belaban/JGroups | src/org/jgroups/jmx/ReflectUtils.java | Java | apache-2.0 | 10,485 |
/*
* Copyright 2014 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 applicable l... | ef-labs/vertigo | core/src/main/java/net/kuujo/vertigo/network/builder/impl/ConnectionSourceBuilderImpl.java | Java | apache-2.0 | 2,131 |
/*
* 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-tagmanager/v1/1.27.0/com/google/api/services/tagmanager/model/Parameter.java | Java | apache-2.0 | 11,697 |
/**
* 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... | castagna/jena-examples | src/main/java/org/apache/jena/examples/ExampleARQ_02.java | Java | apache-2.0 | 2,571 |
package com.njlabs.guide.android.dev;
import java.util.List;
import com.actionbarsherlock.app.SherlockActivity;
import com.actionbarsherlock.app.ActionBar;
import com.actionbarsherlock.view.Menu;
import com.actionbarsherlock.view.MenuInflater;
import com.actionbarsherlock.view.MenuItem;
import com.actionbarsherlock.v... | nj-labs/android-dev-guide | src/com/njlabs/guide/android/dev/push_notifications.java | Java | apache-2.0 | 4,144 |
// Copyright 2021 The KeepTry 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 applicable... | BruceZu/sawdust | arrows/src/main/java/stack/Leetcode402RemoveKDigits.java | Java | apache-2.0 | 3,518 |
/*
* 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... | IllusionRom-deprecated/android_platform_tools_idea | xml/impl/src/com/intellij/psi/impl/source/resolve/reference/impl/manipulators/XmlTextManipulator.java | Java | apache-2.0 | 2,214 |
package org.ovirt.engine.core.common.queries;
public class GetAdGroupsAttachedToTimeLeasedVmPoolParameters extends VdcQueryParametersBase {
private static final long serialVersionUID = 2696702562297712449L;
public GetAdGroupsAttachedToTimeLeasedVmPoolParameters(int id) {
_id = id;
}
private i... | jbeecham/ovirt-engine | backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/GetAdGroupsAttachedToTimeLeasedVmPoolParameters.java | Java | apache-2.0 | 452 |
/*
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package javax.swing.table;
import java.util.Enumeration;
import javax.swing.event.ChangeEvent;
import ... | wangsongpeng/jdk-src | src/main/java/javax/swing/table/TableColumnModel.java | Java | apache-2.0 | 7,724 |
/*
* ------------------------------------------------------------------------------------------------
* Copyright 2011 by Swiss Post, Information Technology Services
* ------------------------------------------------------------------------------------------------
* $Id$
* ----------------------------------------... | lbovet/jminix | src/main/java/org/jminix/server/ConfigurableServerConnectionProvider.java | Java | apache-2.0 | 3,067 |
/*
* Copyright 2015 Torridity.
*
* 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 ... | extremeCrazyCoder/dsworkbench | Core/src/main/java/de/tor/tribes/util/ResourceComparator.java | Java | apache-2.0 | 2,087 |
/*
* Copyright 2016-present Facebook, 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... | raviagarwal7/buck | test/com/facebook/buck/swift/SwiftLibraryIntegrationTest.java | Java | apache-2.0 | 5,042 |
/*
* 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 ... | adessaigne/camel | core/camel-health/src/main/java/org/apache/camel/impl/health/DefaultHealthCheckRegistry.java | Java | apache-2.0 | 9,295 |
/**
* Copyright (C) 2012 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... | mbiarnes/jbpm-form-modeler | jbpm-form-modeler-integrations/jbpm-form-modeler-data-modeler/src/main/java/org/jbpm/formModeler/dataModeler/model/DataModelerDataHolder.java | Java | apache-2.0 | 3,088 |
package org.zstack.sdk;
public class QueryCdpTaskResult {
public java.util.List inventories;
public void setInventories(java.util.List inventories) {
this.inventories = inventories;
}
public java.util.List getInventories() {
return this.inventories;
}
public java.lang.Long to... | zstackio/zstack | sdk/src/main/java/org/zstack/sdk/QueryCdpTaskResult.java | Java | apache-2.0 | 483 |
package com.goodweather.app.db;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import com.goodweather.app.model.City;
import com.goodweather.app.model.County;
import com.goodweather.app.model.Province;
import java.u... | 475555354/goodweather | app/src/main/java/com/goodweather/app/db/GoodWeatherDB.java | Java | apache-2.0 | 3,693 |
/*
* 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... | 11xor6/presto | core/trino-main/src/test/java/io/trino/sql/planner/TestLocalDynamicFiltersCollector.java | Java | apache-2.0 | 19,420 |
/*
* Copyright 2016 Hammock and its contributors
*
* 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 ... | johnament/hammock | web-spi/src/main/java/ws/ament/hammock/web/base/BasePreRequestFilter.java | Java | apache-2.0 | 1,736 |
/**
*
* Copyright 2003-2004 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... | meetdestiny/geronimo-trader | modules/connector/src/java/org/apache/geronimo/connector/outbound/LocalXAResource.java | Java | apache-2.0 | 4,071 |
/*
* Copyright 2000-2015 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... | msebire/intellij-community | platform/diff-impl/src/com/intellij/openapi/diff/impl/dir/DTree.java | Java | apache-2.0 | 9,609 |
/*
* 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... | msebire/intellij-community | platform/smRunner/testSrc/com/intellij/execution/testframework/sm/runner/SMTRunnerIntegrationTest.java | Java | apache-2.0 | 5,653 |
/*
* Copyright (C) 2019 Peng fei Pan <panpfpanpf@outlook.me>
*
* 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 a... | xiaopansky/Sketch | sketch/src/main/java/me/panpf/sketch/request/RequestFactory.java | Java | apache-2.0 | 2,887 |
/**
* Copyright (C) 2015 Zalando SE (http://tech.zalando.com)
*
* 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 requir... | richard-stowe/swagger-codegen-tooling | swagger-codegen-templates/swagger-codegen-template-jaxrs-interfaces/src/test/java/de/zalando/stups/swagger/codegen/language/JaxRsInterfacesGeneratorTest.java | Java | apache-2.0 | 2,173 |
/*
* Copyright 2015 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 a... | kiereleaseuser/uberfire | uberfire-workbench/uberfire-workbench-client/src/main/java/org/uberfire/client/authz/ActivityCheck.java | Java | apache-2.0 | 1,527 |
/*
* Copyright 2017 StreamSets 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... | rockmkd/datacollector | basic-lib/src/test/java/com/streamsets/pipeline/stage/origin/spooldir/TestTextSpoolDirSource.java | Java | apache-2.0 | 8,794 |
/*
* Copyright (C) 2008 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... | kronenpj/iqapps-broken | IQTimeSheet/src/main/java/com/googlecode/iqapps/NumberPickerButton.java | Java | apache-2.0 | 2,765 |
/*
* Copyright (C) 2012 The Guava 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 applicable law or agreed ... | aiyanbo/guava | guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java | Java | apache-2.0 | 9,123 |
/*
* Copyright 2012-2015 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... | christian-posta/spring-boot | spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfiguration.java | Java | apache-2.0 | 12,677 |
package org.googlecode.jef.spring.entity;
import javax.persistence.Table;
import jef.database.DataObject;
import javax.persistence.Id;
import javax.persistence.GenerationType;
import javax.persistence.GeneratedValue;
import javax.persistence.Column;
import javax.persistence.Entity;
import jef.codegen.support.NotModifi... | xuse/ef-orm | orm-test/src/test/java/org/googlecode/jef/spring/entity/Tusers.java | Java | apache-2.0 | 1,127 |
/*
* Copyright 2012-2015 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... | wwadge/spring-boot | spring-boot/src/main/java/org/springframework/boot/logging/ClasspathLoggingApplicationListener.java | Java | apache-2.0 | 2,913 |
/*
* Copyright 2021 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... | marques-work/gocd | config/config-api/src/main/java/com/thoughtworks/go/domain/AllConfigErrors.java | Java | apache-2.0 | 1,060 |
/*
* 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")... | apache/directory-server | core-api/src/main/java/org/apache/directory/server/core/api/interceptor/context/UnbindOperationContext.java | Java | apache-2.0 | 2,622 |
/*
* Copyright 2010-2010 LinkedIn, 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 ... | pongasoft/utils-zookeeper | org.linkedin.zookeeper-impl/src/main/java/org/linkedin/zookeeper/tracker/ZooKeeperTreeTracker.java | Java | apache-2.0 | 13,125 |
/*
* Copyright 2014 JBoss, by Red Hat, 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 ... | porcelli-forks/jbpm-form-modeler | jbpm-form-modeler-panels/jbpm-form-modeler-editor/jbpm-form-modeler-editor-backend/src/main/java/org/jbpm/formModeler/panels/modeler/backend/indexing/FormVisitor.java | Java | apache-2.0 | 5,127 |
/*
* 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 ... | apache/incubator-shardingsphere | shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-core/src/main/java/org/apache/shardingsphere/sharding/route/engine/condition/value/ShardingConditionValue.java | Java | apache-2.0 | 1,171 |
package com.alachisoft.tayzgrid.common;
import static com.alachisoft.tayzgrid.common.ServicePropValues.getMapping_Properties;
import static com.alachisoft.tayzgrid.common.ServicePropValues.getTGHome;
import com.alachisoft.tayzgrid.runtime.util.RuntimeUtil;
import java.io.File;
import java.io.FileInputStream;
import ... | Alachisoft/TayzGrid | src/tgcommon/src/com/alachisoft/tayzgrid/common/EnvPropValue.java | Java | apache-2.0 | 4,351 |
/*
* 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 ... | google/closure-stylesheets | src/com/google/common/css/compiler/passes/ResolveCustomFunctionNodesForChunks.java | Java | apache-2.0 | 5,136 |
/**
* 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... | pudidic/orc | java/core/src/java/org/apache/orc/impl/ConvertTreeReaderFactory.java | Java | apache-2.0 | 100,996 |
/*
* Druid - a distributed column store.
* Copyright 2012 - 2015 Metamarkets Group 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-... | nvoron23/druid | processing/src/main/java/io/druid/query/timeboundary/TimeBoundaryQueryQueryToolChest.java | Java | apache-2.0 | 6,726 |
/**
* 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 ... | michal-lipski/assertj-core | src/test/java/org/assertj/core/api/localdatetime/LocalDateTimeAssert_isBefore_Test.java | Java | apache-2.0 | 3,424 |
// "Replace with 'add()'" "true"
import java.util.*;
class Test {
void test(List<Integer> list) {
list.add(42);
}
} | google/intellij-community | java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/redundantCollectionOperation/afterAddAllCollectionsSingleton.java | Java | apache-2.0 | 124 |
package org.javarosa.xform.parse;
import java.io.Reader;
import org.kxml2.kdom.Document;
/**
* Interface for class factory for creating an XFormParser.
* Supports experimental extensions of XFormParser.
*
* @author mitchellsundt@gmail.com
*
*/
public interface IXFormParserFactory {
public XFormParser getXFor... | wpride/javarosa | core/src/org/javarosa/xform/parse/IXFormParserFactory.java | Java | apache-2.0 | 539 |
/*
* Copyright 2012 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 in writ... | syntelos/gwtcc | src/com/google/gwt/aria/client/PresentationRoleImpl.java | Java | apache-2.0 | 995 |
/*
* Copyright 2000-2016 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... | mglukhikh/intellij-community | platform/lang-impl/src/com/intellij/refactoring/move/moveFilesOrDirectories/MoveFilesOrDirectoriesUtil.java | Java | apache-2.0 | 12,553 |
/*
* Licensed to Metamarkets Group Inc. (Metamarkets) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Metamarkets licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); yo... | andy256/druid | extensions-core/druid-kerberos/src/main/java/io/druid/security/kerberos/DruidKerberosModule.java | Java | apache-2.0 | 1,446 |
/*
* 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 ... | jdeppe-pivotal/geode | geode-for-redis/src/distributedTest/java/org/apache/geode/redis/internal/commands/executor/list/LPushDUnitTest.java | Java | apache-2.0 | 7,618 |
/*
* 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 ... | apache/incubator-eagle | eagle-core/eagle-query/eagle-entity-base/src/main/java/org/apache/eagle/log/entity/MetricMetadataEntity.java | Java | apache-2.0 | 3,940 |
/*
* 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 ... | shroman/ignite | modules/ml/src/test/java/org/apache/ignite/ml/regressions/logistic/LogisticRegressionSGDTrainerTest.java | Java | apache-2.0 | 4,432 |
/*
* 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 ... | apache/solr | solr/modules/hdfs/src/java/org/apache/solr/hdfs/store/blockcache/BlockCacheLocation.java | Java | apache-2.0 | 2,101 |
package supply.me.server.datastore;
public class Fornecedor {
private long id;
private String nome;
private String descricao;
private double lat;
private double lng;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getNome() {
return nome;
}
public void ... | DesenvolvedoresGoogle/SupplyMe | Supply Me/src/supply/me/server/datastore/Fornecedor.java | Java | apache-2.0 | 720 |
/*******************************************************************************
* Copyright (c) quickfixengine.org All rights reserved.
*
* This file is part of the QuickFIX FIX Engine
*
* This file may be distributed under the terms of the quickfixengine.org
* license as defined by quickfixengine.org and ... | Forexware/quickfixj | src/main/java/quickfix/field/NestedPartyRole.java | Java | apache-2.0 | 1,149 |
package com.rawcoders.JStack;
import java.util.Iterator;
import java.util.LinkedList;
/**
*
* @author Psycho_Coder
* @param <T>
*/
public class JStack<T> implements StackInterface<T> {
private LinkedList<T> list;
public JStack() {
this.list = new LinkedList<>();
}
/*
... | AnimeshShaw/VisualStack | src/com/rawcoders/JStack/JStack.java | Java | apache-2.0 | 1,606 |
/*
* 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... | miniway/presto | presto-cassandra/src/main/java/io/prestosql/plugin/cassandra/CassandraColumnHandle.java | Java | apache-2.0 | 6,041 |
package com.orientechnologies.orient.core.exception;
import com.orientechnologies.orient.core.storage.impl.local.paginated.OClusterPositionMap;
import com.orientechnologies.orient.core.storage.impl.local.paginated.base.ODurableComponent;
/**
* @author Andrey Lomakin <lomakin.andrey@gmail.com>.
* @since 10/2/2015
*... | wouterv/orientdb | core/src/main/java/com/orientechnologies/orient/core/exception/OClusterPositionMapException.java | Java | apache-2.0 | 632 |
/*
* Copyright (c) 2014-2015 University of Ulm
*
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership. 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... | cha87de/colosseum | app/dtos/conversion/converters/RawMonitorConverter.java | Java | apache-2.0 | 4,804 |
package org.stepic.droid.storage.structure;
import kotlin.Deprecated;
@Deprecated(message = "Use one from org.stepik.android.cache.assignment.structure")
public final class DbStructureAssignment {
public static final String ASSIGNMENTS = "assignments";
public static final class Column {
public static... | StepicOrg/stepik-android | app/src/main/java/org/stepic/droid/storage/structure/DbStructureAssignment.java | Java | apache-2.0 | 673 |
package com.mcxtzhang.commonadapter.viewgroup.adapter.base;
import android.content.Context;
import android.database.DataSetObservable;
import android.database.DataSetObserver;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import java.util.List;
/**
* 介绍:datas->View 的 B... | zqh110110/base_http_rxjava_databing_commonutil | all-base-adapter-master/adapter-lib/src/main/java/com/mcxtzhang/commonadapter/viewgroup/adapter/base/BaseAdapter.java | Java | apache-2.0 | 2,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 ... | apache/shiro | core/src/test/java/org/apache/shiro/realm/AuthorizingRealmTest.java | Java | apache-2.0 | 12,150 |
/**
* Copyright 2004-2015 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
*
* Unle... | luojiangyu/ibatis-2 | src/main/java/com/ibatis/sqlmap/client/SqlMapTransactionManager.java | Java | apache-2.0 | 5,028 |
/**
* <copyright>
* </copyright>
*
*
*/
package eu.hyvar.feature.expression.resource.hyexpression.ui;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStream... | HyVar/DarwinSPL | plugins/eu.hyvar.feature.expression.resource.hyexpression.ui/src-gen/eu/hyvar/feature/expression/resource/hyexpression/ui/HyexpressionNewProjectWizardLogic.java | Java | apache-2.0 | 10,175 |
/*
* Copyright 2007-2107 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 requi... | aglne/ymateplatform | ymateplatform/src/main/java/net/ymate/platform/mvc/impl/DefaultRequestProcessor.java | Java | apache-2.0 | 7,678 |
/*
* Copyright (c) 2011-2013, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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... | intrack/BoofCV-master | main/feature/test/boofcv/alg/feature/detect/extract/TestNonMaxCandidateStrict.java | Java | apache-2.0 | 1,470 |
// Copyright 2013 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 applicable l... | apache/tapestry-5 | tapestry-cdi/src/test/java/org/apache/tapestry5/cdi/test/pages/WSPage.java | Java | apache-2.0 | 1,009 |
/**
* 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... | massakam/pulsar | pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/FaultInjectionMetadataStore.java | Java | apache-2.0 | 7,112 |
/**
* 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... | sijie/incubator-distributedlog | distributedlog-tutorials/distributedlog-kafka/src/main/java/org/apache/distributedlog/kafka/KafkaDistributedLogProducer.java | Java | apache-2.0 | 5,988 |
/*
* Copyright 2011 Google 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 by applicable ... | rwl/j2objc | src/main/java/com/google/devtools/j2objc/translate/AnonymousClassConverter.java | Java | apache-2.0 | 24,998 |
package org.jboss.resteasy.plugins.spring;
import org.jboss.resteasy.spi.HttpRequest;
import org.jboss.resteasy.spi.HttpResponse;
import org.jboss.resteasy.spi.InjectorFactory;
import org.jboss.resteasy.spi.PropertyInjector;
import org.jboss.resteasy.spi.ResourceFactory;
import org.springframework.beans.factory... | kabir/re-play | resteasy-spring/src/main/java/org/jboss/resteasy/plugins/spring/SpringResourceFactory.java | Java | apache-2.0 | 1,878 |
/*
* 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 ... | shurun19851206/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/portable/local/GridCachePortableObjectsLocalSelfTest.java | Java | apache-2.0 | 1,855 |
package net.mgsx.game.core.helpers;
import com.badlogic.ashley.core.EntitySystem;
import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.graphics.g3d.utils.AnimationController;
import com.badlogic.gdx.scenes.scene2d.Action;
import com.badlogic.gdx.scenes.scene2d.actions.Actions;
public class ActionsHelp... | mgsx-dev/gdx-kit | core/src/net/mgsx/game/core/helpers/ActionsHelper.java | Java | apache-2.0 | 961 |
/**
* <p> Title: </p>
* <p> Description:</p>
* <p> Copyright: Copyright (c) 2014 </p>
* <p> Company:hihsoft.co.,ltd </p>
*
* @author zhujw
* @version 1.0
*/
package com.hihsoft.db1.domain;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.... | colddew/hihsoft-atomikos | src/main/java/com/hihsoft/db1/domain/TsysApp.java | Java | apache-2.0 | 3,299 |
package org.pac4j.oauth.run;
import org.pac4j.core.client.IndirectClient;
import org.pac4j.core.profile.CommonProfile;
import org.pac4j.core.run.RunClient;
import org.pac4j.core.profile.Gender;
import org.pac4j.core.profile.ProfileHelper;
import org.pac4j.core.util.CommonHelper;
import org.pac4j.oauth.client.Google2Cl... | jkacer/pac4j | pac4j-oauth/src/test/java/org/pac4j/oauth/run/RunGoogle2Client.java | Java | apache-2.0 | 2,475 |
/*
* Copyright (c) 2008-2020, 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 ... | mdogan/hazelcast | hazelcast/src/main/java/com/hazelcast/map/impl/recordstore/MutationObserver.java | Java | apache-2.0 | 4,078 |
/*
* Copyright 2008-2014 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 app... | tschulte/griffon | subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/MeterAdapter.java | Java | apache-2.0 | 2,252 |
/**
* 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... | BUPTAnderson/apache-hive-2.1.1-src | serde/src/java/org/apache/hadoop/hive/serde2/lazy/objectinspector/primitive/LazyHiveIntervalDayTimeObjectInspector.java | Java | apache-2.0 | 1,857 |
/*
* 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 ... | apache/commons-imaging | src/test/java/org/apache/commons/imaging/formats/tiff/fieldtypes/FieldTypeLongTest.java | Java | apache-2.0 | 1,616 |
/*
* 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-sheets/v4/1.31.0/com/google/api/services/sheets/v4/model/DimensionProperties.java | Java | apache-2.0 | 5,415 |
/*
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php
*
* Unless required by... | vivantech/kc_fixes | src/main/java/org/kuali/kra/irb/personnel/ProtocolPersonTrainingService.java | Java | apache-2.0 | 952 |
package net.techreadiness.security;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.AuthenticationE... | SmarterApp/TechnologyReadinessTool | core-components/src/main/java/net/techreadiness/security/Http401UnauthorizedEntryPoint.java | Java | apache-2.0 | 679 |
/**
* Copyright 2017 TerraMeta Software, 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 ... | plasma-framework/plasma | plasma-metamodel/src/main/java/org/plasma/xml/schema/FormChoice.java | Java | apache-2.0 | 1,715 |
package com.youzu.android.framework.db.converter;
import android.database.Cursor;
import android.text.TextUtils;
import com.youzu.android.framework.db.sqlite.ColumnDbType;
/**
* Author: wyouflf
* Date: 13-11-4
* Time: 下午10:51
*/
public class LongColumnConverter implements ColumnConverter<Long> {
@Override
... | denvey/discuz_Android | libs/AppUtils/src/com/youzu/android/framework/db/converter/LongColumnConverter.java | Java | apache-2.0 | 859 |
/*
* 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 ... | apache/incubator-shardingsphere | shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/statement/distsql/rdl/alter/AlterReadwriteSplittingRuleStatementTestCase.java | Java | apache-2.0 | 1,592 |
// 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... | cinderella/incubator-cloudstack | api/src/com/cloud/api/commands/ResetVMPasswordCmd.java | Java | apache-2.0 | 4,542 |
package io.cattle.platform.process.instance;
import io.cattle.iaas.labels.service.LabelsService;
import io.cattle.platform.agent.instance.dao.AgentInstanceDao;
import io.cattle.platform.agent.instance.factory.AgentInstanceFactory;
import io.cattle.platform.core.model.Instance;
import io.cattle.platform.core.util.Syste... | jimengliu/cattle | code/iaas/logic/src/main/java/io/cattle/platform/process/instance/LabelsProviderProcessHandler.java | Java | apache-2.0 | 3,257 |
/*
* 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 ... | mohanaraosv/commons-bcel | src/test/java/org/apache/commons/bcel6/verifier/VerifierInvokeTestCase.java | Java | apache-2.0 | 1,914 |
/*
* Copyright (C) 2015 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... | Ant-Droid/android_packages_apps_Settings_OLD | src/com/android/settings/applications/DefaultBrowserPreference.java | Java | apache-2.0 | 2,441 |
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.license;
import org.elasticsearch.action.ActionList... | nknize/elasticsearch | x-pack/plugin/core/src/main/java/org/elasticsearch/license/TransportGetBasicStatusAction.java | Java | apache-2.0 | 2,470 |