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 com.qozix.tileview.markers; import android.content.Context; import android.view.MotionEvent; import android.view.View; import com.qozix.tileview.detail.DetailManager; public class CalloutManager extends MarkerManager { public CalloutManager( Context context, DetailManager detailManager ) { super( context...
moagrius/TileView-test
tileview/src/main/java/com/qozix/tileview/markers/CalloutManager.java
Java
mit
562
/* Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. The MySQL Connector/J is licensed under the terms of the GPLv2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>, like most MySQL Connectors. There are special exceptions to the terms and conditions of the GPLv2 as it is appl...
namdp06/mysql-connector-java-1
src/com/mysql/jdbc/JDBC4CommentClientInfoProvider.java
Java
gpl-2.0
3,453
package com.temenos.interaction.loader.xml; /* * #%L * interaction-springdsl * %% * Copyright (C) 2012 - 2014 Temenos Holdings N.V. * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Found...
schwadorf/IRIS
interaction-dynamic-loader/src/main/java/com/temenos/interaction/loader/xml/XmlChangedEventImpl.java
Java
agpl-3.0
1,375
/* * 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 ...
WilliamNouet/nifi
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/ProcessContext.java
Java
apache-2.0
10,197
/* * 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 ...
samaitra/jena
jena-sdb/src/main/java/org/apache/jena/sdb/layout2/expr/RegexCompiler.java
Java
apache-2.0
5,296
// Copyright 2015 The Bazel Authors. 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 appl...
davidzchen/bazel
src/main/java/com/google/devtools/build/lib/pkgcache/TestFilter.java
Java
apache-2.0
6,400
/* * Copyright WSO2 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...
dhanuka84/carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.keymgt.client/src/main/java/org/wso2/carbon/apimgt/keymgt/client/SubscriberKeyMgtClientPool.java
Java
apache-2.0
2,715
/* * 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 ...
YolandaMDavis/nifi
nifi-nar-bundles/nifi-kafka-bundle/nifi-kafka-0-11-processors/src/main/java/org/apache/nifi/processors/kafka/pubsub/PublisherPool.java
Java
apache-2.0
4,191
/* * JBoss, Home of Professional Open Source. * Copyright 2016 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
keycloak/keycloak
server-spi-private/src/main/java/org/keycloak/authorization/store/AuthorizationStoreFactory.java
Java
apache-2.0
2,766
package org.wso2.carbon.apimgt.api.model; import java.util.ArrayList; import java.util.List; public class ConfigurationDto { private String name; private String label; private String type; private String tooltip; private String defaultValue; private boolean required; private boolean mask;...
nuwand/carbon-apimgt
components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/model/ConfigurationDto.java
Java
apache-2.0
2,326
/* * 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 ...
chaoyi66/commons-lang
src/main/java/org/apache/commons/lang3/BooleanUtils.java
Java
apache-2.0
42,634
/* * 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 bolt...
yunarta/Bolts-Android
bolts-tasks/src/test/java/bolts/CancellationTest.java
Java
bsd-3-clause
4,584
/** * Copyright (c) 2010-2019 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
theoweiss/openhab2
bundles/org.openhab.binding.jeelink/src/main/java/org/openhab/binding/jeelink/internal/lacrosse/DifferenceCheckingPublisher.java
Java
epl-1.0
1,806
/* Copyright (c) 2007, Distributed Computing Group (DCG) ETH Zurich Switzerland dcg.ethz.ch All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are me...
brunovam/wireless_power_control
topologyControl/src/sinalgo/configuration/Configuration.java
Java
gpl-2.0
46,716
/** * Copyright © 2002 Instituto Superior Técnico * * This file is part of FenixEdu Academic. * * FenixEdu Academic is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License...
JNPA/fenixedu-academic
src/main/java/org/fenixedu/academic/domain/phd/migration/common/exceptions/BirthdayMismatchException.java
Java
lgpl-3.0
1,077
/* * Copyright 2000-2014 Vaadin Ltd. * * 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...
Flamenco/vaadin
uitest/src/com/vaadin/tests/components/grid/GridMultiSelectionOnInit.java
Java
apache-2.0
1,155
/* * 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 ...
rangadi/beam
sdks/java/extensions/euphoria/src/main/java/org/apache/beam/sdk/extensions/euphoria/core/annotation/operator/Basic.java
Java
apache-2.0
1,371
/* * Copyright 2010 JBoss 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...
amckee23/drools
drools-core/src/main/java/org/drools/core/base/extractors/BaseNumberClassFieldReader.java
Java
apache-2.0
4,930
/** * Copyright 2013 ARRIS, 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 ...
wesleypeck/parquet-tools
src/main/java/parquet/tools/read/SimpleRecordConverter.java
Java
apache-2.0
4,068
/** * Copyright 2010 JBoss 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 ...
MetSystem/jbpm
jbpm-flow/src/main/java/org/jbpm/process/core/ContextResolver.java
Java
apache-2.0
725
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
strapdata/elassandra
client/rest-high-level/src/main/java/org/elasticsearch/client/ml/PostCalendarEventResponse.java
Java
apache-2.0
3,340
/** * 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...
eljefe6a/kafka
streams/src/main/java/org/apache/kafka/streams/processor/internals/PunctuationQueue.java
Java
apache-2.0
1,786
package org.bouncycastle.bcpg.sig; public interface RevocationReasonTags { public static final byte NO_REASON = 0; // No reason specified (key revocations or cert revocations) public static final byte KEY_SUPERSEDED = 1; // Key is superseded (key revocations) public static final byte K...
sake/bouncycastle-java
src/org/bouncycastle/bcpg/sig/RevocationReasonTags.java
Java
mit
664
/* * 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/flink
flink-runtime/src/main/java/org/apache/flink/runtime/entrypoint/parser/ParserResultFactory.java
Java
apache-2.0
1,731
/* * 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 ...
wwjiang007/flink
flink-runtime/src/main/java/org/apache/flink/runtime/resourcemanager/slotmanager/LeastUtilizationSlotMatchingStrategy.java
Java
apache-2.0
3,496
/* Copyright (c) 2008 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...
athibanraj/gdata-java-client
java/src/com/google/gdata/model/transforms/atom/AtomVersionTransforms.java
Java
apache-2.0
1,891
/* * 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/flink
flink-table/flink-sql-parser/src/main/java/org/apache/flink/sql/parser/dml/RichSqlInsertKeyword.java
Java
apache-2.0
1,508
/* * 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...
asedunov/intellij-community
plugins/groovy/src/org/jetbrains/plugins/groovy/refactoring/introduce/field/GrInplaceFieldIntroducer.java
Java
apache-2.0
11,693
/* * Copyright 2010 JBoss 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...
amckee23/drools
drools-core/src/test/java/org/drools/core/reteoo/MockRightTupleSink.java
Java
apache-2.0
2,498
/* * Copyright 2014 JBoss 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...
cmoulliard/apiman
gateway/engine/beans/src/main/java/io/apiman/gateway/engine/beans/PolicyFailureType.java
Java
apache-2.0
849
/** * 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...
GeLiXin/hadoop
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/lib/input/TestCombineFileInputFormat.java
Java
apache-2.0
75,425
/** * Copyright 2005-2015 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/ecl2.php * * Unless required by a...
bhutchinson/rice
rice-middleware/sampleapp/src/it/java/edu/sampleu/main/ContextLookUpAftBase.java
Java
apache-2.0
3,345
/* * Copyright 2015 The SageTV Authors. 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 ap...
JREkiwi/sagetv
java/sage/epg/sd/json/map/SDMapMetadata.java
Java
apache-2.0
1,106
/* * 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 ...
lincoln-lil/flink
flink-libraries/flink-gelly/src/main/java/org/apache/flink/graph/NeighborsFunction.java
Java
apache-2.0
2,533
/** * Copyright (c) 2014-2015 openHAB UG (haftungsbeschraenkt) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.htm...
ibaton/smarthome
bundles/ui/org.eclipse.smarthome.ui/src/main/java/org/eclipse/smarthome/ui/internal/chart/ChartServlet.java
Java
epl-1.0
7,829
/****************************************************************************** * Product: Adempiere ERP & CRM Smart Business Solution * * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * * This program is free software; you can redistribute it and/or modify it ...
armenrz/adempiere
client/src/org/compiere/apps/ASyncProcessBase.java
Java
gpl-2.0
3,163
/* * Licensed to the OpenNMS Group Inc. under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenNMS Group Inc. licences this file to You under the Apache License, * Version 2.0 (the "License"); you m...
roskens/opennms-pre-github
opennms-tools/OpenNMSXMLClient/src/test/java/org/opennms/xmlclient/RequisitionListTest.java
Java
agpl-3.0
1,406
/* * 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.xpack.sql.jdbc; import java.sql.ResultSet; final c...
coding0011/elasticsearch
x-pack/plugin/sql/jdbc/src/main/java/org/elasticsearch/xpack/sql/jdbc/DatabaseMetadataProxy.java
Java
apache-2.0
723
/* * 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...
kuzemchik/presto
presto-main/src/main/java/com/facebook/presto/sql/planner/optimizations/HashGenerationOptimizer.java
Java
apache-2.0
15,871
/* * Copyright 2010-2015 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...
nmelnick/aws-sdk-java
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/transform/DeleteSubscriptionFilterRequestMarshaller.java
Java
apache-2.0
3,415
// Copyright 2000-2018 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.jetbrains.python.codeInsight.editorActions.smartEnter.enterProcessors; import com.intellij.openapi.editor.CaretModel; import com.intellij.openapi.editor.Editor; impor...
siosio/intellij-community
python/src/com/jetbrains/python/codeInsight/editorActions/smartEnter/enterProcessors/PyPlainEnterProcessor.java
Java
apache-2.0
1,871
/** * 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 law or agreed to in writing,...
mcaprari/smack
source/org/jivesoftware/smackx/entitycaps/cache/EntityCapsPersistentCache.java
Java
apache-2.0
1,122
/******************************************************************************* * Copyright (c) 2000, 2008 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
alexVengrovsk/che
plugins/plugin-java/che-plugin-java-ext-jdt/org-eclipse-ltk-core-refactoring/src/main/java/org/eclipse/ltk/core/refactoring/RefactoringStatusEntry.java
Java
epl-1.0
8,645
/* * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
FauxFaux/jdk9-jdk
src/jdk.localedata/share/classes/sun/text/resources/ext/FormatData_iw.java
Java
gpl-2.0
9,950
/* * Copyright 2000-2009 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
platform/core-impl/src/com/intellij/extapi/psi/PsiFileBase.java
Java
apache-2.0
2,680
/** * 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...
pisaychuk/falcon
metrics/src/main/java/org/apache/falcon/job/ReplicationJobCountersList.java
Java
apache-2.0
1,880
package com.airbnb.airpal; import com.airbnb.airpal.core.AirpalUser; import com.airbnb.airpal.core.AirpalUserFactory; import com.sun.jersey.spi.inject.Injectable; import lombok.Value; import org.apache.shiro.SecurityUtils; import org.secnod.shiro.jersey.AuthInjectableProvider; public class UserInjectableProvider exte...
psychocandy/airpal
src/main/java/com/airbnb/airpal/UserInjectableProvider.java
Java
apache-2.0
1,011
package org.bouncycastle.asn1.x509.qualified; import org.bouncycastle.asn1.ASN1Choice; import org.bouncycastle.asn1.ASN1Encodable; import org.bouncycastle.asn1.ASN1Integer; import org.bouncycastle.asn1.ASN1Object; import org.bouncycastle.asn1.ASN1Primitive; import org.bouncycastle.asn1.DERPrintableString; /** * The ...
thedrummeraki/Aki-SSL
src/org/bouncycastle/asn1/x509/qualified/Iso4217CurrencyCode.java
Java
apache-2.0
2,756
/* * 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 ...
shaoxuan-wang/flink
flink-runtime/src/main/java/org/apache/flink/runtime/state/KeyedStateCheckpointOutputStream.java
Java
apache-2.0
4,296
/** * 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...
icoding/sqoop
src/java/org/apache/sqoop/mapreduce/AutoProgressMapper.java
Java
apache-2.0
2,820
/* * Copyright 2000-2014 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-analysis-impl/src/com/intellij/codeInsight/intention/AddAnnotationFix.java
Java
apache-2.0
1,889
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Brian Westrich, Jean-Baptiste Quenot, Stephen Connolly, Tom Huybrechts * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
vlajos/jenkins
core/src/main/java/hudson/triggers/Trigger.java
Java
mit
12,428
/* * 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; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.core.ccr.action; import org.elast...
GlenRSmith/elasticsearch
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ccr/action/PutFollowAction.java
Java
apache-2.0
12,664
package com.dianping.cat.report.page.event; import com.dianping.cat.consumer.event.model.entity.EventName; import com.dianping.cat.consumer.event.model.entity.Range; import com.dianping.cat.report.graph.svg.AbstractGraphPayload; abstract class AbstractPayload extends AbstractGraphPayload { private final EventName m_...
ddviplinux/cat
cat-home/src/main/java/com/dianping/cat/report/page/event/AbstractPayload.java
Java
apache-2.0
2,067
package in.srain.cube.image.impl; import android.annotation.TargetApi; import android.os.Build; import in.srain.cube.concurrent.LinkedBlockingDeque; import in.srain.cube.image.ImageLoader; import in.srain.cube.image.iface.ImageTaskExecutor; import in.srain.cube.util.Version; import java.util.concurrent.ThreadFactory;...
newlandlty/cube-sdk
core/src/in/srain/cube/image/impl/DefaultImageTaskExecutor.java
Java
apache-2.0
3,839
/* * Copyright 2015 MovingBlocks * * 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 t...
kaen/Terasology
engine/src/main/java/org/terasology/logic/characters/CharacterMovementSystemUtility.java
Java
apache-2.0
6,338
/* * 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 ...
ullgren/camel
components/camel-avro/src/main/java/org/apache/camel/component/avro/AvroConstants.java
Java
apache-2.0
1,211
/* * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
rokn/Count_Words_2015
testing/openjdk/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/FieldType.java
Java
mit
3,548
/* * Copyright (c) 2009-2012 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of ...
PlanetWaves/clockworkengine
trunk/jme3-examples/src/main/java/jme3test/light/TestManyLightsSingle.java
Java
apache-2.0
11,174
package org.eclipse.smarthome.binding.lifx.internal; import java.util.List; import lifx.java.android.client.LFXClient; import lifx.java.android.entities.LFXHSBKColor; import lifx.java.android.entities.LFXTypes.LFXFuzzyPowerState; import lifx.java.android.light.LFXLight; import lifx.java.android.light.LFXLightCollecti...
ibaton/smarthome
extensions/binding/org.eclipse.smarthome.binding.lifx/src/main/java/org/eclipse/smarthome/binding/lifx/internal/LifxConnection.java
Java
epl-1.0
4,615
// "Convert variable 'res' from String to StringBuilder (null-safe)" "true" public class Main { String test(String[] strings) { String res = null; for (String s : strings) { if (s == null) continue; if(res == null) { res = s; } else { ...
paplorinc/intellij-community
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/stringConcatInLoop/beforeConcatNullSafe2.java
Java
apache-2.0
391
/* * Copyright 2012-2019 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
tiarebalbi/spring-boot
spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/test/java/org/springframework/boot/maven/IncludeFilterTests.java
Java
apache-2.0
4,692
/* * Copyright 2012-2019 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
tiarebalbi/spring-boot
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/TomcatDataSourceConfigurationTests.java
Java
apache-2.0
4,900
/* * Copyright 2012-2019 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
tiarebalbi/spring-boot
spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/annotation/package-info.java
Java
apache-2.0
739
package app.hanks.com.conquer.fragment; import java.util.ArrayList; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.GridView; import app.hanks.com.conquer.R; import app.hanks.com.conquer.adapter.AlbumAdapter; public class M...
yihaoyh/Conquer
app/src/main/java/app/hanks/com/conquer/fragment/MyAlbumFragment.java
Java
apache-2.0
1,524
/** * 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/ecl2.php * * Unless required by a...
ricepanda/rice-git3
rice-middleware/it/kew/src/test/java/org/kuali/rice/kew/engine/DynamicSubRoleAttribute.java
Java
apache-2.0
2,182
/* * 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 ...
irudyak/ignite
modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/jdbc/JdbcMetaColumnsResultV4.java
Java
apache-2.0
1,634
/** * 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...
tseen/Federated-HDFS
tseenliu/FedHDFS-hadoop-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ProtoUtil.java
Java
apache-2.0
6,089
/** * 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...
lburgazzoli/apache-camel
components/camel-openstack/src/test/java/org/apache/camel/component/openstack/nova/KeypairProducerTest.java
Java
apache-2.0
4,953
/* * 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 ...
markusweimer/incubator-reef
lang/java/reef-common/src/main/java/org/apache/reef/driver/evaluator/JVMProcess.java
Java
apache-2.0
3,229
/* * 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...
tubemogul/druid
processing/src/main/java/io/druid/segment/BaseProgressIndicator.java
Java
apache-2.0
1,358
package cgeo.geocaching.gcvote; public final class GCVoteRating { private final float rating; private final int votes; private final float myVote; public GCVoteRating(final float rating, final int votes, final float myVote) { this.rating = rating; this.votes = votes; this.myVot...
xiaoyanit/cgeo
main/src/cgeo/geocaching/gcvote/GCVoteRating.java
Java
apache-2.0
519
/* * #%L * BroadleafCommerce Common Libraries * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * 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...
cloudbearings/BroadleafCommerce
common/src/main/java/org/broadleafcommerce/common/web/BroadleafThymeleafMessageResolver.java
Java
apache-2.0
3,082
/* * Copyright 2010-2015 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...
mahaliachante/aws-sdk-java
aws-java-sdk-kms/src/main/java/com/amazonaws/services/kms/model/CreateGrantResult.java
Java
apache-2.0
6,529
/* * 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 ...
markusweimer/incubator-reef
lang/java/reef-common/src/test/java/org/apache/reef/util/OSUtilsTest.java
Java
apache-2.0
1,167
/* * 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 ...
dulvac/sling
launchpad/integration-tests/src/main/java/org/apache/sling/launchpad/webapp/integrationtest/servlets/post/PostServletMoveTest.java
Java
apache-2.0
30,409
/* * 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 ...
markusweimer/incubator-reef
lang/java/reef-tests/src/test/java/org/apache/reef/tests/runtimename/package-info.java
Java
apache-2.0
920
/* * Copyright 2012 Hai Bison * * 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 ...
HiWong/android-lockpattern-1
code/src/haibison/android/lockpattern/util/LoadingView.java
Java
apache-2.0
4,024
/*! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2018 by Hitachi Vantara : http://www.pentaho.com * ******************************************************************************* * * Licensed under the Apache License, Version...
roboguy/pentaho-kettle
engine/src/test/java/org/pentaho/di/trans/steps/filestoresult/FilesToResultMetaTest.java
Java
apache-2.0
2,633
/* * Copyright (C) 2011 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 agree...
player-03/SDKGenerator
targets/java/srcCode/com/google/gson/TypeAdapter.java
Java
apache-2.0
10,805
/* * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
rokn/Count_Words_2015
testing/openjdk2/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/util/SingleByteEncoder.java
Java
mit
5,473
/* * This file is part of "SnipSnap Radeox Rendering Engine". * * Copyright (c) 2002 Stephan J. Schmidt, Matthias L. Jugel * All Rights Reserved. * * Please visit http://radeox.org/ for updates and contact. * * --LICENSE NOTICE-- * Licensed under the Apache License, Version 2.0 (the "License"); * you may not ...
bzhouduke123/sakai
rwiki/rwiki-util/radeox/src/java/org/radeox/filter/regex/LocaleRegexTokenFilter.java
Java
apache-2.0
2,623
// "Replace with collect" "false" public class Test { public void test(int n) { for(int <caret>i=0; i<n; i++) { for(int j=0; j<i; j++) { j = j * 2; System.out.println(j); } } } public static void main(String[] args) { new Test().test(20); } }
siosio/intellij-community
java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/streamApiMigration/other/beforeRangeReassignedNested.java
Java
apache-2.0
292
/* * 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...
ThiagoGarciaAlves/intellij-community
plugins/gradle/testSources/org/jetbrains/plugins/gradle/execution/TestEventXmlXPathViewTest.java
Java
apache-2.0
1,090
/* * 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; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.versionfield; import org.apache.c...
robin13/elasticsearch
x-pack/plugin/mapper-version/src/main/java/org/elasticsearch/xpack/versionfield/VersionEncoder.java
Java
apache-2.0
10,207
class Main { void foo() { Test.class.getField("shadowed"); } } class Test extends Parent { } class Parent extends Grand { public int shadowed; } class Grand extends GrandGrand { public int shadowed; } class GrandGrand { public int shadowed; }
asedunov/intellij-community
java/java-tests/testData/codeInsight/completion/reflection/ShadowedSuperField_after.java
Java
apache-2.0
260
package org.wso2.carbon.logging.summarizer.scriptCreator; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.*; import org.wso2.carbon.logging.summarizer.utils.LoggingConfig; import org.wso2.carbon.logging.summar...
madhawa-gunasekara/carbon-commons
components/logging/org.wso2.carbon.logging.summarizer/src/main/java/org/wso2/carbon/logging/summarizer/scriptCreator/OutputFileHandler.java
Java
apache-2.0
5,533
/* * Copyright 2008 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 applica...
sujithps/powermock
examples/dom4j/src/test/java/org/powermock/examples/dom4j/AbstractXMLRequestCreatorBaseTest.java
Java
apache-2.0
4,644
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
medicayun/medicayundicom
dcm4jboss-all/trunk/dcm4jboss-ejb/src/java/org/dcm4chex/archive/ejb/session/AvailabilityUpdateBean.java
Java
apache-2.0
5,557
/* * Copyright (C) 2015 Antonio Leiva * * 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 ag...
liucheng811/MaterializeYourApp
app/src/main/java/com/antonioleiva/materializeyourapp/ViewModel.java
Java
apache-2.0
958
/* * Copyright (C) 2007 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...
raviagarwal7/buck
third-party/java/dx/src/com/android/dx/ssa/back/SsaToRop.java
Java
apache-2.0
12,746
/*************************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...
tomwscott/GoCD
server/src/com/thoughtworks/go/server/service/builders/BuilderFactory.java
Java
apache-2.0
3,479
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
weipinghe/elasticsearch
core/src/main/java/org/elasticsearch/index/analysis/CJKBigramFilterFactory.java
Java
apache-2.0
3,282
/* * 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...
kaschaeffer/presto
presto-parser/src/main/java/com/facebook/presto/sql/parser/SqlParser.java
Java
apache-2.0
6,911
/* * 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...
cawallin/presto
presto-record-decoder/src/main/java/com/facebook/presto/decoder/json/RFC2822JsonFieldDecoder.java
Java
apache-2.0
2,716
/* * 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...
marsorp/blog
presto166/presto-main/src/main/java/com/facebook/presto/operator/window/LeadFunction.java
Java
apache-2.0
2,742
/* * 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...
akosyakov/intellij-community
platform/platform-impl/src/com/intellij/remote/RemoteCredentials.java
Java
apache-2.0
1,067
/* * Copyright 2002-2011 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...
gharizanov92/spring-security-oauth
spring-security-oauth2/src/main/java/org/springframework/security/oauth2/provider/ClientAlreadyExistsException.java
Java
apache-2.0
1,099
/** * Copyright (c) 2010-2016 by the respective copyright holders. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */...
lewie/openhab
bundles/io/org.openhab.io.transport.cul/src/main/java/org/openhab/io/transport/cul/CULCommunicationException.java
Java
epl-1.0
986
/** * 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...
davidwilliams1978/camel
components/camel-hazelcast/src/test/java/org/apache/camel/component/hazelcast/HazelcastSetProducerTest.java
Java
apache-2.0
5,500