repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
winningsix/hive | ql/src/java/org/apache/hadoop/hive/ql/optimizer/GlobalLimitOptimizer.java | 8347 | /**
* 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-2.0 |
luciofm/AndroidSalao | src/com/luciofm/presentation/androidsalao/DisplayService.java | 175 | package com.luciofm.presentation.androidsalao;
public interface DisplayService {
void connection(boolean connetion);
void next();
void previous();
void advance();
}
| apache-2.0 |
yongjhih/kaif-android | app/src/main/java/io/kaif/mobile/app/BaseFragment.java | 438 | package io.kaif.mobile.app;
import rx.Observable;
import rx.android.app.support.RxFragment;
import rx.android.lifecycle.LifecycleObservable;
import rx.android.schedulers.AndroidSchedulers;
public class BaseFragment extends RxFragment {
protected <T> Observable<T> bind(Observable<T> observable) {
return Lifecyc... | apache-2.0 |
state-hiu/geowave | geowave-accumulo/src/main/java/mil/nga/giat/geowave/accumulo/AccumuloRowId.java | 2604 | package mil.nga.giat.geowave.accumulo;
import java.nio.ByteBuffer;
import java.util.Arrays;
import org.apache.accumulo.core.data.Key;
/**
* This class encapsulates the elements that compose the row ID in Accumulo, and
* can serialize and deserialize the individual elements to/from the row ID. The
* row ID consist... | apache-2.0 |
alibaba/Sentinel | sentinel-dashboard/src/test/java/com/alibaba/csp/sentinel/dashboard/rule/zookeeper/ZookeeperConfigUtil.java | 1381 | /*
* Copyright 1999-2018 Alibaba Group Holding 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 applica... | apache-2.0 |
gzsombor/ranger | ranger-elasticsearch-plugin-shim/src/main/java/org/apache/ranger/authorization/elasticsearch/authorizer/RangerElasticsearchAuthorizer.java | 3996 | /*
* 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-2.0 |
jbqueyrie/TPOpenCompare | src/test/java/org/opencompare/StatisticsPlusPlusTest.java | 11353 | package org.opencompare;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.net.URI;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import org.junit.Test;
import org.opencompare.api.java.Cell;
im... | apache-2.0 |
AlanJager/zstack | plugin/flatNetworkProvider/src/main/java/org/zstack/network/service/flat/FlatDhcpAcquireDhcpServerIpReply.java | 1199 | package org.zstack.network.service.flat;
import org.zstack.header.message.MessageReply;
import org.zstack.header.network.l3.IpRangeInventory;
import org.zstack.header.network.l3.UsedIpInventory;
/**
* Created by frank on 10/11/2015.
*/
public class FlatDhcpAcquireDhcpServerIpReply extends MessageReply {
private... | apache-2.0 |
yijia1992/coolweather | app/src/main/java/com/example/coolweather/MainActivity.java | 1121 | package com.example.coolweather;
import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
public class MainActivity extends ActionBarActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(saved... | apache-2.0 |
Guardiola31337/HexGrid | hexgrid/src/main/java/com/pguardiola/HexagonViewNorthSouth.java | 3676 | /*
* Copyright (C) 2016 Pablo Guardiola Sánchez.
*
* 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 ... | apache-2.0 |
yongxu16/agile-test | src/test/java/configuration/ConfigurationTest.java | 787 | package configuration;
import org.agle4j.framework.constant.ConfigConstant;
import org.apache.commons.configuration.ConfigurationException;
import org.apache.commons.configuration.PropertiesConfiguration;
import org.junit.Test;
/**
* commons-configuration 包测试
* 一个java应用程序的配置管理类库
*
* @author hanyx
* ... | apache-2.0 |
planoAccess/clonedONOS | apps/vtn/vtnweb/src/main/java/org/onosproject/vtnweb/web/FlowClassifierCodec.java | 6133 | /*
* Copyright 2015 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 applicable la... | apache-2.0 |
CaMnter/SaveVolley | volley-comments/src/main/java/com/android/volley/NetworkDispatcher.java | 10456 | /*
* Copyright (C) 2011 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... | apache-2.0 |
equella/Equella | Source/Plugins/Core/com.equella.base/src/com/tle/common/harvester/HarvesterProfileSettings.java | 2776 | /*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0, (the "License"); you ma... | apache-2.0 |
wamdue/agorbunov | chapter_005/src/main/java/ru/job4j/list/SimpleQueue.java | 2235 | package ru.job4j.list;
/**
* Created on 24.07.17.
* Simple queue realization.
* @author Wamdue
* @version 1.0
* @param <E> - class to store.
*/
public class SimpleQueue<E> extends SimpleLinkedList<E> {
/**
* Link to the first element.
*/
private Node<E> first = null;
/**
* Link to th... | apache-2.0 |
dwdyer/uncommons-maths | core/src/java/test/org/uncommons/maths/random/PoissonGeneratorTest.java | 3742 | // ============================================================================
// Copyright 2006-2012 Daniel W. Dyer
//
// 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
//
// h... | apache-2.0 |
GwtMaterialDesign/gwt-material-addins | src/test/java/gwt/material/design/addins/client/ui/MaterialSplitPanelTest.java | 4086 | /*
* #%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
* ... | apache-2.0 |
jakubnabrdalik/spring-workshops | src/main/groovy/eu/solidcraft/starter/examples/example2/repository/springdatajpa/SpringDataVisitRepository.java | 1116 | /*
* Copyright 2002-2013 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... | apache-2.0 |
Jason-Chen-2017/restfeel | src/main/java/com/restfeel/entity/RfRequest.java | 3393 | /*
* Copyright 2014 Ranjan Kumar
*
* 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... | apache-2.0 |
jjmeyer0/nifi | nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/test/java/org/apache/nifi/integration/accesscontrol/ITConnectionAccessControl.java | 15790 | /*
* 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-2.0 |
consulo/consulo | modules/base/platform-api/src/main/java/com/intellij/ui/speedSearch/SpeedSearch.java | 5838 | /*
* 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... | apache-2.0 |
WASdev/standards.jsr352.jbatch | com.ibm.jbatch.container/src/main/java/com/ibm/jbatch/container/jsl/impl/TransitionImpl.java | 2254 | /*
* Copyright 2012 International Business Machines Corp.
*
* 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 ob... | apache-2.0 |
alvinkwekel/camel | components/camel-coap/src/generated/java/org/apache/camel/coap/CoAPEndpointUriFactory.java | 2176 | /* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.coap;
import java.net.URISyntaxException;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import org.apache.camel.spi.EndpointUriFactory;
/**
* Generated by camel build tools - do N... | apache-2.0 |
loilo-inc/loilo-promise | promise/src/main/java/tv/loilo/promise/UntilParams.java | 1081 | /*
* Copyright (c) 2015-2016 LoiLo 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 ag... | apache-2.0 |
googleapis/google-cloudevents-java | src/main/java/com/google/events/cloud/cloudbuild/v1/MachineTypeEnum.java | 1348 | /*
* Copyright 2021 Google LLC
*
* 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 applicable law or agreed to ... | apache-2.0 |
CLovinr/OftenPorter | Porter-Bridge-Servlet/src/main/java/cn/oftenporter/servlet/JSONHeader.java | 176 | package cn.oftenporter.servlet;
/**
* 实现了该接口的对象,被输出时设置内容类型为{@linkplain ContentType#APP_JSON}。
*/
public interface JSONHeader
{
}
| apache-2.0 |
simonbrunner/msnswitch-control | src/main/java/com/simonbrunner/msnswitchctrl/network/SwitchStatus.java | 451 | package com.simonbrunner.msnswitchctrl.network;
/**
* Created by simon on 03/01/16.
*/
public class SwitchStatus {
private Boolean plug1;
private Boolean plug2;
public Boolean getPlug1() {
return plug1;
}
public void setPlug1(Boolean plug1) {
this.plug1 = plug1;
}
publ... | apache-2.0 |
smanvi-pivotal/geode | geode-core/src/main/java/org/apache/geode/internal/cache/tier/Acceptor.java | 2120 | /*
* 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 ... | apache-2.0 |
witcxc/saiku | saiku-core/saiku-service/src/main/java/org/saiku/service/olap/totals/package-info.java | 655 | /*
* Copyright 2014 OSBI 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 to in writ... | apache-2.0 |
fr3anthe/ifedorenko | 3.1-Hibernate/3.1.2.2-CarSell/src/main/java/ru/job4j/model/dao/DCarbody.java | 888 | package ru.job4j.model.dao;
import org.slf4j.LoggerFactory;
import ru.job4j.model.entities.Carbody;
import java.util.List;
/**
* class DCarbody.
*
* @author ifedorenko
* @since 19.12.2018
*/
public class DCarbody extends DAOAbstract<Carbody> {
private static final DCarbody INSTANCE = new DCarbody();
/**... | apache-2.0 |
jituo666/CrazyPic | src/com/xjt/crazypic/edit/pipeline/RenderingRequestCaller.java | 138 | package com.xjt.crazypic.edit.pipeline;
public interface RenderingRequestCaller {
public void available(RenderingRequest request);
}
| apache-2.0 |
orioncode/orionplatform | orion_data/orion_data_structures/src/main/java/com/orionplatform/data/data_structures/array/ArraySortService.java | 1201 | package com.orionplatform.data.data_structures.array;
import java.util.Arrays;
import java.util.Comparator;
import com.orionplatform.core.abstraction.OrionService;
public class ArraySortService<T> extends OrionService
{
public static synchronized void sort(byte[] array)
{
Arrays.sort(array);
}
... | apache-2.0 |
pgfox/activemq-artemis | artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java | 88749 | /*
* 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... | apache-2.0 |
deephacks/confit | core/src/main/java/org/deephacks/confit/internal/core/property/typesafe/impl/AbstractConfigValue.java | 13671 | /**
* Copyright (C) 2011-2012 Typesafe Inc. <http://typesafe.com>
*/
package org.deephacks.confit.internal.core.property.typesafe.impl;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.Map;
import org.deephacks.confit.internal.core.prop... | apache-2.0 |
far-edge/EdgeInfrastructure | Clients/dataRoutingClient/src/main/java/eu/sensap/farEdge/dataRoutingClient/registry/RegistryClient.java | 10728 | /***
*Sensap contribution
* @author George
*
*/
package eu.sensap.farEdge.dataRoutingClient.registry;
import java.io.IOException;
import java.util.UUID;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.fasterxml.ja... | apache-2.0 |
nfet/cxf-rest | src/main/java/com/lagnada/demo/cxfrest/rest/MyInterceptor.java | 725 | package com.lagnada.demo.cxfrest.rest;
import org.apache.cxf.interceptor.Fault;
import org.apache.cxf.message.Message;
import org.apache.cxf.phase.AbstractPhaseInterceptor;
import org.apache.cxf.phase.Phase;
import org.apache.cxf.security.SecurityContext;
import java.security.Principal;
public class MyInterceptor ex... | apache-2.0 |
Coreoz/Plume | plume-web-jersey/src/main/java/com/coreoz/plume/jersey/security/permission/PermissionRequestProvider.java | 729 | package com.coreoz.plume.jersey.security.permission;
import java.util.Collection;
import javax.ws.rs.container.ContainerRequestContext;
/**
* Extract permissions from the user corresponding to the current HTTP request
*/
public interface PermissionRequestProvider {
/**
* Fetch user permissions corresponding to... | apache-2.0 |
Skullabs/kikaha | kikaha-modules/kikaha-urouting/source/kikaha/urouting/ConverterFactoryLoader.java | 2325 | package kikaha.urouting;
import java.util.*;
import java.util.function.Function;
import javax.annotation.PostConstruct;
import javax.enterprise.inject.Produces;
import javax.enterprise.inject.*;
import javax.inject.*;
import kikaha.core.util.Lang;
import kikaha.urouting.api.*;
@Singleton
@SuppressWarnings("rawtypes"... | apache-2.0 |
metaborg/nabl | nabl2.terms/src/main/java/mb/nabl2/util/graph/alg/misc/IGraphPathFinder.java | 2933 | /*******************************************************************************
* Copyright (c) 2010-2013, Abel Hegedus, Istvan Rath and Daniel Varro
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.or... | apache-2.0 |
jjhaggar/ludum30_a_hole_new_world | core/src/com/blogspot/ludumdaresforfun/Enemy.java | 2894 | package com.blogspot.ludumdaresforfun;
import com.badlogic.gdx.graphics.g2d.Animation;
import com.badlogic.gdx.graphics.g2d.TextureAtlas.AtlasRegion;
import com.badlogic.gdx.math.Rectangle;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.scenes.scene2d.ui.Image;
import com.badlogic.gdx.scenes.scene2d.ut... | apache-2.0 |
TomeOkin/LsPush-Server | src/main/java/app/receiver/CollectionReceiver.java | 1028 | /*
* Copyright 2016 TomeOkin
*
* 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 ... | apache-2.0 |
ashnl007/jeesms | src/main/java/com/jeesms/entity/system/LoginLog.java | 1947 | package com.jeesms.entity.system;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.jeesms.common.Constants;
import com.jeesms.entity.base.IdEntity;
import javax.persistence.*;
import java.ut... | apache-2.0 |
nano-projects/nano-framework | nano-orm/nano-orm-jdbc/src/main/java/org/nanoframework/orm/jdbc/config/DruidJdbcConfig.java | 5059 | /*
* Copyright 2015-2016 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... | apache-2.0 |
JeremyJacquemont/SchoolProjects | IUT/Android-Projects/Loupe/Sources/app/src/main/java/com/lpiem/apps/loupelec/utilities/customUiElement/CustomListPreference.java | 707 | package com.lpiem.apps.loupelec.utilities.customUiElement;
import android.content.Context;
import android.preference.ListPreference;
import android.util.AttributeSet;
/**
* CustomListPreference Class
*/
public class CustomListPreference extends ListPreference {
/**
* Constructors
*/
public CustomL... | apache-2.0 |
ReactiveX/RxJava | src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableFlatMapSingle.java | 11229 | /*
* Copyright (c) 2016-present, RxJava 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 la... | apache-2.0 |
keepsl/keepsmis | ksxtmanager/src/main/java/com/keeps/ksxtmanager/system/service/DictService.java | 1385 | package com.keeps.ksxtmanager.system.service;
import java.util.List;
import com.keeps.core.service.SoftService;
import com.keeps.model.TDict;
import com.keeps.model.TDictType;
import com.keeps.tools.utils.page.Page;
import com.keeps.utils.TreeNode;
/**
* <p>Title: DictService.java</p>
* <p>Descripti... | apache-2.0 |
leopardoooo/cambodia | boss-job/src/main/java/com/yaochen/boss/dao/ProdIncludeDao.java | 826 | package com.yaochen.boss.dao;
import java.util.List;
import org.springframework.stereotype.Component;
import com.ycsoft.beans.core.cust.CCust;
import com.ycsoft.beans.core.prod.CProdInclude;
import com.ycsoft.daos.abstracts.BaseEntityDao;
import com.ycsoft.daos.core.JDBCException;
@Component
public clas... | apache-2.0 |
consulo/consulo | modules/base/core-impl/src/main/java/com/intellij/psi/impl/PsiDocumentManagerBase.java | 42122 | // Copyright 2000-2019 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.psi.impl;
import com.google.common.annotations.VisibleForTesting;
import com.intellij.injected.editor.DocumentWindow;
import com.intellij.lang.ASTNode;
impor... | apache-2.0 |
czyzby/gdx-lml | uedi/src/test/java/com/github/czyzby/uedi/test/ambiguous/AmbiguousInjector.java | 445 | package com.github.czyzby.uedi.test.ambiguous;
import com.github.czyzby.uedi.stereotype.Singleton;
public class AmbiguousInjector implements Singleton {
private Ambiguous ambiguousA;
private Ambiguous ambiguousB;
private Ambiguous named;
public Ambiguous getA() {
return ambiguousA;
}
... | apache-2.0 |
mikessh/mageri | src/main/java/com/antigenomics/mageri/core/variant/model/ErrorRateEstimate.java | 1639 | /*
* Copyright 2014-2016 Mikhail Shugay
*
* 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... | apache-2.0 |
consulo/consulo-properties | src/main/java/com/intellij/lang/properties/PropertiesHighlightingLexer.java | 1637 | /*
* 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... | apache-2.0 |
OgaworldEX/ORS | src/http/HttpMessage.java | 703 | package http;
import java.io.Serializable;
public class HttpMessage implements Serializable{
private static final long serialVersionUID = -1114764212343485987L;
private HttpRequest httpRequest;
private HttpResponse httpResponse;
public HttpMessage(HttpRequest request){
this.httpRequest = req... | apache-2.0 |
googleapis/google-api-java-client-services | clients/google-api-services-people/v1/1.31.0/com/google/api/services/people/v1/model/DeleteContactPhotoResponse.java | 2351 | /*
* 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... | apache-2.0 |
apache/incubator-asterixdb | asterixdb/asterix-common/src/main/java/org/apache/asterix/common/utils/StorageConstants.java | 3098 | /*
* 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-2.0 |
gemxd/gemfirexd-oss | gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/persistence/soplog/ByteComparator.java | 1907 | /*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... | apache-2.0 |
sergio11/struts2-hibernate | ejercicio4-web/src/main/java/listeners/GuiceListener.java | 1267 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package listeners;
import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.Singleton;
im... | apache-2.0 |
yhhyes/coolweather | src/com/coolweather/app/db/CoolWeatherDB.java | 3550 | package com.coolweather.app.db;
import java.util.ArrayList;
import java.util.List;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import com.coolweather.app.model.City;
import com.coolweather.app.model.County;
impor... | apache-2.0 |
googleapis/java-dlp | proto-google-cloud-dlp-v2/src/main/java/com/google/privacy/dlp/v2/ColorOrBuilder.java | 1515 | /*
* Copyright 2020 Google LLC
*
* 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 applicable law or agreed to ... | apache-2.0 |
OSEHRA/ISAAC | core/mojo/src/main/java/sh/isaac/mojo/Shutdown.java | 2748 | /*
* 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
* d... | apache-2.0 |
OSUCartography/JMapProjLib | src/com/jhlabs/map/proj/McBrydeThomasFlatPolarSinusoidalProjection.java | 2052 | /*
Copyright 2014 Bojan Savric
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
... | apache-2.0 |
gstevey/gradle | subprojects/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/cache/CompileCaches.java | 1295 | /*
* 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 applica... | apache-2.0 |
gawkermedia/googleads-java-lib | modules/adwords_axis/src/main/java/com/google/api/ads/adwords/axis/v201509/rm/AccessReason.java | 2989 | /**
* AccessReason.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Mar 02, 2009 (07:08:06 PST) WSDL2Java emitter.
*/
package com.google.api.ads.adwords.axis.v201509.rm;
public class AccessReason implements java.io.Serializable {
private java.lang.String _value_;
private static ja... | apache-2.0 |
amzn/exoplayer-amazon-port | library/common/src/main/java/com/google/android/exoplayer2/text/Cue.java | 24639 | /*
* Copyright (C) 2016 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... | apache-2.0 |
cloudera/hcatalog | core/src/test/java/org/apache/hcatalog/mapreduce/HCatMapReduceTest.java | 13101 | /**
* 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-2.0 |
Eminenz/itunesJacobExample | src/com/pew/itunes/IITVisual.java | 979 | /**
* JacobGen generated file --- do not edit
*
* (http://www.sourceforge.net/projects/jacob-project */
package com.pew.itunes;
import com.jacob.com.*;
public class IITVisual extends Dispatch {
public static final String componentName = "iTunesLib.IITVisual";
public IITVisual() {
super(componentName);
}
/... | apache-2.0 |
petezybrick/iote2e | iote2e-ws/src/main/java/com/pzybrick/iote2e/ws/nrt/ServerSideSocketNearRealTime.java | 11460 | /**
* Copyright 2016, 2017 Peter Zybrick and others.
*
* 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
*
* Unles... | apache-2.0 |
murat8505/REST_client_retrofit | retrofit/src/test/java/retrofit/converter/GsonConverterTest.java | 2382 | // Copyright 2015 Square, Inc.
package retrofit.converter;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;
import com.squareup.okhttp.MediaType... | apache-2.0 |
zuzanamullerova/unitime | JavaSource/org/unitime/timetable/gwt/client/rooms/RoomHint.java | 7518 | /*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may... | apache-2.0 |
Har-insa/front-end | app/src/main/java/com/hardis/connect/fragment/FeedsFragment.java | 2144 | package com.hardis.connect.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import an... | apache-2.0 |
nanchengking/Drawing | src/table/WelcomeWindow.java | 1380 | package table;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.net.URL;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
public class WelcomeWindow implements Runnable {
private JFrame frame;
private String fileName="i... | apache-2.0 |
ThorbenLindhauer/activiti-engine-ppi | modules/activiti-engine/src/main/java/org/activiti/engine/impl/pvm/runtime/ExecutionImpl.java | 25877 | /* Copyright 2010-2012 Alfresco Software, Ltd.
* Copyright 2012 Thorben Lindhauer
*
* Licensed under the Apache License, ersion 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
... | apache-2.0 |
marsbits/restfbmessenger | samples/restfbmessenger-echo-spring-boot/src/main/java/com/github/marsbits/restfbmessenger/sample/EchoCallbackHandler.java | 3553 | /*
* Copyright 2015-2017 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... | apache-2.0 |
yangjae/android-beacon-library | src/main/java/org/altbeacon/bluetooth/BluetoothCrashResolver.java | 19332 | package org.altbeacon.bluetooth;
import android.annotation.TargetApi;
import android.bluetooth.BluetoothAdapter;
import android.bluetooth.BluetoothDevice;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Asyn... | apache-2.0 |
terrancesnyder/solr-analytics | lucene/spatial/src/java/org/apache/lucene/spatial/query/SpatialArgs.java | 4992 | package org.apache.lucene.spatial.query;
/*
* 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... | apache-2.0 |
prestodb/presto | presto-main/src/main/java/com/facebook/presto/operator/scalar/JsonToRowCast.java | 6466 | /*
* 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... | apache-2.0 |
lgoldstein/communitychest | chest/gui/swing/src/main/java/net/community/chest/swing/text/MutableAttributeSetXmlProxy.java | 3524 | /*
*
*/
package net.community.chest.swing.text;
import java.lang.reflect.Method;
import java.util.Map;
import javax.swing.Icon;
import javax.swing.text.MutableAttributeSet;
import javax.swing.text.SimpleAttributeSet;
import net.community.chest.awt.dom.UIReflectiveAttributesProxy;
import net.community.chest.reflect... | apache-2.0 |
liuhailin/zookeeper-console | src/main/java/com/lhl/zk/interceptor/AuthInterceptor.java | 1148 | package com.lhl.zk.interceptor;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
import ... | apache-2.0 |
thomasgalvin/Utils | src/main/java/galvin/Selectable.java | 131 | package galvin;
public interface Selectable {
public boolean isSelected();
public void setSelected( boolean selected );
}
| apache-2.0 |
slolars/yql-plus | yqlplus_engine/src/main/java/com/yahoo/yqlplus/engine/guice/MultibinderPlannerNamespace.java | 2406 | /*
* Copyright (c) 2016 Yahoo Inc.
* Licensed under the terms of the Apache version 2.0 license.
* See LICENSE file for terms.
*/
package com.yahoo.yqlplus.engine.guice;
import com.google.common.base.Joiner;
import com.google.inject.Inject;
import com.google.inject.Provider;
import com.yahoo.yqlplus.api.Exports;
... | apache-2.0 |
marklogic/data-hub-in-a-box | web/src/main/java/com/marklogic/hub/web/model/StatusMessage.java | 901 | /*
* Copyright 2012-2019 MarkLogic Corporation
*
* 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... | apache-2.0 |
jjaquinta/EchoSim | jo.alexa.sim/src/jo/alexa/sim/logic/UtteranceLogic.java | 5919 | package jo.alexa.sim.logic;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.Reader;
import java.util.List;
import jo.alexa.sim.data.ApplicationBean;
import jo.alexa.sim.data.IntentBean;
import jo.alexa.sim.data.PhraseSegmentBean;
import jo.alexa.sim.data.SlotBean;
import jo.alexa.... | apache-2.0 |
chmyga/component-runtime | component-runtime-manager/src/test/java/org/talend/sdk/component/runtime/manager/reflect/IconFinderTest.java | 3250 | /**
* Copyright (C) 2006-2020 Talend Inc. - www.talend.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 required by appli... | apache-2.0 |
albertonavarro/nifty-flow | examples/ex1/src/main/java/indep_screen3/Controller3.java | 1048 | package indep_screen3;
import com.navid.nifty.flow.ScreenFlowManager;
import com.navid.nifty.flow.ScreenFlowManagerImpl;
import de.lessvoid.nifty.Nifty;
import de.lessvoid.nifty.screen.Screen;
import de.lessvoid.nifty.screen.ScreenController;
/**
* Created by alberto on 08/07/15.
*/
public class Controller3 impleme... | apache-2.0 |
CatalystIT/sonar-score-plugin | src/test/java/com/catalyst/sonar/score/api/CriterionTest.java | 2683 | /**
*
*/
package com.catalyst.sonar.score.api;
import static org.junit.Assert.*;
import static com.catalyst.sonar.score.api.ApiTestConstants.*;
import org.junit.Before;
import org.junit.Test;
/**
* Test Class for {@link Criterion}.
*
* @author JDunn
*/
public class CriterionTest {
private... | apache-2.0 |
FoxconnPeter/IMOCC | imooc_business/vuandroidadsdk/src/main/java/com/youdu/core/display/DisplayAdContext.java | 1271 | package com.youdu.core.display;
import android.view.ViewGroup;
/**
* Created by qndroid on 16/10/27.
*
* @function 用来与外界通信的类, 接收参数, 发送请求
*/
public class DisplayAdContext implements
DisplayAdSlot.DisplayConextListener {
/**
* Data
*/
private DisplayAdSlot mDisplayAdSlot; //图片类型广告
pr... | apache-2.0 |
tangjf420/ttweb | ttweb/src/main/java/com/tangjf/tally/dao/TallyTypeMapper.java | 187 | package com.tangjf.tally.dao;
import com.tangjf.framework.dao.BaseMapper;
import com.tangjf.tally.dto.TallyType;
public interface TallyTypeMapper extends BaseMapper<TallyType> {
} | apache-2.0 |
connecto/connecto-java | src/main/java/io/connecto/connectoapi/SegmentResponse.java | 1428 | package io.connecto.connectoapi;
import org.json.JSONArray;
import org.json.JSONException;
import java.util.ArrayList;
import java.util.List;
/**
* A model class which wraps around a list of segment objects.
*
* An instance of this class is returned by the getSegments api.
* @see ConnectoAPI#getSegments(String, ... | apache-2.0 |
fenik17/netty | codec/src/main/java/io/netty/handler/codec/base64/Base64Decoder.java | 2347 | /*
* Copyright 2012 The Netty Project
*
* The Netty Project 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 ... | apache-2.0 |
googleapis/java-common-protos | grpc-google-common-protos/src/main/java/com/google/longrunning/OperationsGrpc.java | 42722 | /*
* Copyright 2020 Google LLC
*
* 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 applicable law or agreed to ... | apache-2.0 |
alexander071/cf-java-client | cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/useradmin/ListOrganizationUsersRequestTest.java | 1079 | /*
* Copyright 2013-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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | apache-2.0 |
lmjacksoniii/hazelcast | hazelcast/src/main/java/com/hazelcast/config/JobTrackerConfigReadOnly.java | 2164 | /*
* Copyright (c) 2008-2016, 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 ... | apache-2.0 |
jamesyong/o3erp | java/specialpurpose/camel/src/org/ofbiz/camel/services/CamelServices.java | 1242 | package org.ofbiz.camel.services;
import org.apache.camel.CamelExecutionException;
import org.ofbiz.base.util.Debug;
import org.ofbiz.camel.loader.CamelContainer;
import org.ofbiz.service.DispatchContext;
import org.ofbiz.service.ServiceUtil;
import java.util.Collections;
import java.util.Map;
public class CamelServ... | apache-2.0 |
statisticsnorway/java-vtl | java-vtl-script/src/test/java/no/ssb/vtl/script/operations/join/NewInnerJoinOperationTest.java | 9205 | package no.ssb.vtl.script.operations.join;
/*-
* ========================LICENSE_START=================================
* Java VTL
* %%
* Copyright (C) 2016 - 2018 Hadrien Kohl
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licens... | apache-2.0 |
samtingleff/dgrid | java/src/api/com/dgrid/errors/MailException.java | 278 | package com.dgrid.errors;
public class MailException extends DGridException {
/**
*
*/
private static final long serialVersionUID = 1107025858152537437L;
public MailException(String msg) {
super(msg);
}
public MailException(Throwable root) {
super(root);
}
}
| apache-2.0 |
doordeck/simplegpio | simplegpio-core/src/main/java/com/doordeck/simplegpio/gpio/PinBlockedException.java | 1446 | package com.doordeck.simplegpio.gpio;
/*
* (C) Copyright 2014 libbulldog (http://libbulldog.org/) and others.
*
* 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... | apache-2.0 |
TheLimeGlass/Skellett | src/main/java/com/gmail/thelimeglass/Scoreboards/ExprTeamFriendlyInvisibles.java | 1691 | package com.gmail.thelimeglass.Scoreboards;
import org.bukkit.event.Event;
import org.bukkit.scoreboard.Team;
import org.eclipse.jdt.annotation.Nullable;
import ch.njol.skript.classes.Changer;
import ch.njol.skript.classes.Changer.ChangeMode;
import ch.njol.skript.lang.Expression;
import ch.njol.skript.lang.SkriptPar... | apache-2.0 |
dmwu/sparrow | src/main/java/edu/berkeley/sparrow/daemon/nodemonitor/TaskScheduler.java | 6672 | /*
* Copyright 2013 The Regents of The University California
*
* 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 b... | apache-2.0 |
rgfernandes/dex2jar | dex-translator/src/main/java/com/googlecode/d2j/dex/LambadaNameSafeClassAdapter.java | 576 | package com.googlecode.d2j.dex;
import org.objectweb.asm.ClassVisitor;
import org.objectweb.asm.commons.Remapper;
import org.objectweb.asm.commons.RemappingClassAdapter;
public class LambadaNameSafeClassAdapter extends RemappingClassAdapter {
public String getClassName() {
return remapper.mapType(classNam... | apache-2.0 |
citlab/vs.msc.ws14 | flink-0-7-custom/flink-java/src/main/java/org/apache/flink/api/java/operators/SingleInputOperator.java | 2357 | /*
* 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-2.0 |
hejzgithub/CworldEarnGold | src/com/cworld/earngold/sys/action/UserAction.java | 3106 | package com.cworld.earngold.sys.action;
import org.springframework.stereotype.Controller;
import com.core.code.action.BaseAction;
import com.cworld.earngold.mobile.inf.InterfaceLogin;
import com.cworld.earngold.mobile.inf.InterfaceUser;
import com.cworld.earngold.mobile.inf.impl.InterfaceLoginImpl;
import com... | apache-2.0 |