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.couchbase.lite.support; import com.couchbase.lite.Database; import com.couchbase.lite.Manager; import com.couchbase.lite.auth.Authenticator; import com.couchbase.lite.auth.AuthenticatorImpl; import com.couchbase.lite.util.Log; import com.couchbase.lite.util.URIUtils; import com.couchbase.lite.util.Utils; ...
4u7/couchbase-lite-java-core
src/main/java/com/couchbase/lite/support/RemoteRequest.java
Java
apache-2.0
14,798
package io.elegie.luchess.web.framework.routing; import io.elegie.luchess.web.framework.payload.Result; import java.io.File; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.net.URL; import java.net.URLDecoder; imp...
Elegie/luchess
projects/luchess-web-framework/src/main/java/io/elegie/luchess/web/framework/routing/ControllerUtil.java
Java
apache-2.0
5,597
package com.brilliantbear.imageloder; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 ...
liancanxiong/ImageLoader
src/test/java/com/brilliantbear/imageloder/ExampleUnitTest.java
Java
apache-2.0
335
package com.hypnoticocelot.telemetry.example; import com.yammer.dropwizard.config.Configuration; public class ExampleConfiguration extends Configuration { }
ryankennedy/telemetry
telemetry-example/src/main/java/com/hypnoticocelot/telemetry/example/ExampleConfiguration.java
Java
apache-2.0
160
/** * Copyright 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 applic...
MZaratin-Larus/neo4art
neo4art-core/src/main/java/org/neo4art/core/batch/ArtistIndexCreator.java
Java
apache-2.0
1,548
package com.palmelf.eoffice.dao.flow; import com.palmelf.core.dao.BaseDao; import com.palmelf.eoffice.model.flow.ProType; public abstract interface ProTypeDao extends BaseDao<ProType> { }
jacarrichan/eoffice
src/main/java/com/palmelf/eoffice/dao/flow/ProTypeDao.java
Java
apache-2.0
190
package mil.nga.giat.geowave.core.ingest.kafka; import kafka.serializer.Encoder; import kafka.utils.VerifiableProperties; import org.apache.avro.specific.SpecificRecordBase; /** * Default encoder used by Kafka to serialize Avro generated Java object to * binary. This class is specified as a property in the Kafka c...
ruks/geowave
core/ingest/src/main/java/mil/nga/giat/geowave/core/ingest/kafka/AvroKafkaEncoder.java
Java
apache-2.0
972
/** * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.component.factory.master; import static com.opengamma.component.factory.master.DBMasterComponentUtils.isValidJmsConfiguration; import java.util.LinkedHashMap;...
McLeodMoores/starling
projects/component/src/main/java/com/opengamma/component/factory/master/InMemoryRegionMasterComponentFactory.java
Java
apache-2.0
19,314
package org.optaplanner.examples.projectjobscheduling; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; public class Activator implements BundleActivator { private static BundleContext context; public static BundleContext getContext() { return context; } /* * (non-Javadoc...
martenscs/optaplanner-osgi
org.optaplanner.examples.projectjobscheduling/src/org/optaplanner/examples/projectjobscheduling/Activator.java
Java
apache-2.0
981
package nl.nn.adapterframework.align; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; public class OverridesMapTest { OverridesMap<String> map; @Before public void setUp() throws Exception { map = new OverridesMap<String>(); } AlignmentContext parse(String path...
ibissource/iaf
core/src/test/java/nl/nn/adapterframework/align/OverridesMapTest.java
Java
apache-2.0
1,781
// 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...
InspurUSA/kudu
java/kudu-client/src/test/java/org/apache/kudu/client/TestPartialRow.java
Java
apache-2.0
21,274
package io.github.ibuildthecloud.dstack.object.postinit; import io.github.ibuildthecloud.dstack.object.ObjectDefaultsProvider; import io.github.ibuildthecloud.dstack.util.type.InitializationTask; import java.lang.reflect.InvocationTargetException; import java.util.HashMap; import java.util.List; import java.util.Map;...
ibuildthecloud/dstack
code/framework/object/src/main/java/io/github/ibuildthecloud/dstack/object/postinit/ObjectDefaultsPostInstantiationHandler.java
Java
apache-2.0
2,194
package com.leovandriel.reversible.proxy; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import com.leovandriel.reversible.action.Action; import com.leovandriel.reversible.action.AdvancedRunner; public class DebugProxyCollection<T> implements Collection<T> {...
leonardvandriel/Reversible
src/com/leovandriel/reversible/proxy/DebugProxyCollection.java
Java
apache-2.0
2,866
package com.xrtb.jmq; import javax.servlet.http.HttpServletResponse; import org.zeromq.ZMQ; public class Pull { public Pull(HttpServletResponse response, String port, String timeout, String limit) throws Exception { int lim = 1; if (limit != null) { lim = Integer.parseInt(limit); } ZMQ.Context context =...
benmfaul/XRTB
src/com/xrtb/jmq/Pull.java
Java
apache-2.0
679
/* * Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package javax.xml.soap; import java.util.Iterator; import javax.xml.namespace.QName; /** * An objec...
haikuowuya/android_system_code
src/javax/xml/soap/SOAPElement.java
Java
apache-2.0
21,983
/* * Copyright 2016-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...
mp911de/spring-vault
spring-vault-core/src/main/java/org/springframework/vault/authentication/LoginToken.java
Java
apache-2.0
6,972
package net.zaczek.launcherforblind.activitysupport; import net.zaczek.launcherforblind.listentries.ListEntry; import android.util.Log; /* * Abstract list activity for dealing with simple lists */ public abstract class AbstractArrayActivity extends AbstractActivity { private static final String TAG = "launcherforb...
arthurzaczek/launcherforblind
src/net/zaczek/launcherforblind/activitysupport/AbstractArrayActivity.java
Java
apache-2.0
1,817
package quark_md; public class quark_test_Test_stop_Method extends quark.reflect.Method implements io.datawire.quark.runtime.QObject { public quark_test_Test_stop_Method() { super("quark.void", "stop", new java.util.ArrayList(java.util.Arrays.asList(new Object[]{}))); } public Object invoke(Object ...
bozzzzo/quark
quarkc/test/emit/expected/java/quark/src/main/java/quark_md/quark_test_Test_stop_Method.java
Java
apache-2.0
669
package tw.bill.java101; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; import org.springframework.web.servlet.config.annotation.EnableWebMvc; import tw.bill.java101.conf.SecurityTestConfig...
bpmabpma/java101
src/test/java/tw/bill/java101/AppConfig.java
Java
apache-2.0
498
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights * Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
mhurne/aws-sdk-java
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53domains/model/transform/RetrieveDomainAuthCodeRequestMarshaller.java
Java
apache-2.0
3,132
/* * This file is part of the PSL software. * Copyright 2011-2013 University of Maryland * * 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...
JackSullivan/psl
psl-core/src/main/java/edu/umd/cs/psl/application/learning/weight/WeightLearningApplication.java
Java
apache-2.0
4,890
/* * $Header: /var/chroot/cvs/cvs/factsheetDesigner/extern/jakarta-slide-server-src-2.1-iPlus Edit/projector/src/java/org/apache/slide/projector/processor/query/PropertyQuery.java,v 1.2 2006-01-22 22:45:14 peter-cvs Exp $ * $Revision: 1.2 $ * $Date: 2006-01-22 22:45:14 $ * * =======================================...
integrated/jakarta-slide-server
projector/src/java/org/apache/slide/projector/processor/query/PropertyQuery.java
Java
apache-2.0
3,785
/* * Copyright 2019 VMware, 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
micrometer-metrics/micrometer
micrometer-binders/src/main/java/io/micrometer/binder/mongodb/MongoMetricsCommandListener.java
Java
apache-2.0
2,889
/* * Copyright 2015 Techgrains Technologies * * 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...
techgrains/TGFramework-Android
TGFramework/library/src/main/java/com/techgrains/session/TGSession.java
Java
apache-2.0
6,732
/* The following code was generated by JFlex 1.5.0-SNAPSHOT on 9/19/12 7:40 PM */ package org.apache.lucene.analysis.standard; /* * 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 regar...
terrancesnyder/solr-analytics
lucene/analysis/common/src/java/org/apache/lucene/analysis/standard/UAX29URLEmailTokenizerImpl.java
Java
apache-2.0
234,065
/** * Copyright 2015-2018 The OpenZipkin 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 ...
soundcloud/zipkin
benchmarks/src/main/java/zipkin2/internal/BufferBenchmarks.java
Java
apache-2.0
3,263
package br.com.artur.exception; public class VelocityException extends Exception { /** * */ private static final long serialVersionUID = -7079226116393711309L; public VelocityException() { } public VelocityException(String message) { super(message); } public VelocityException(String message, Throwabl...
arturgaleno/SplashPage
src/main/java/br/com/artur/exception/VelocityException.java
Java
apache-2.0
610
package com.alecananian.earthviewlivewallpaper.events; public class EarthViewEvent { public EarthViewEventType eventType; public EarthViewEvent(EarthViewEventType eventType) { this.eventType = eventType; } }
alecananian/EarthViewLiveWallpaper
app/src/main/java/com/alecananian/earthviewlivewallpaper/events/EarthViewEvent.java
Java
apache-2.0
232
package br.eti.erickcouto.occultflashtag; /* * Copyright (C) 2015 Erick Couto * * 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 * *...
erick-couto/occult-flash-tag
occult-flash-tag/app/src/main/java/br/eti/erickcouto/occultflashtag/Mark.java
Java
apache-2.0
1,503
/* *Copyright (c) 2005-2012, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * *WSO2 Inc. 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/LI...
lakshani/carbon-mobile-appmgt
components/org.wso2.carbon.appmgt.impl/src/main/java/org/wso2/carbon/appmgt/impl/token/DefaultClaimsRetriever.java
Java
apache-2.0
5,394
// 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.siyeh.ig.classlayout; import com.intellij.codeInspection.InspectionProfileEntry; import com.siyeh.ig.LightInspectionTestCase; import org.jetbrains.annotations.Nullabl...
paplorinc/intellij-community
plugins/InspectionGadgets/testsrc/com/siyeh/ig/classlayout/UtilityClassCanBeEnumInspectionTest.java
Java
apache-2.0
1,394
/* * Copyright 2007-2022 Scott C. Gray * * 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...
scgray/jsqsh
jsqsh-core/src/main/java/org/sqsh/DataFormatter.java
Java
apache-2.0
14,248
package com.github.davidmoten.tj; public final class ImageCreatorMain { public static void main(String[] args) { System.setProperty("https.proxyHost", "proxy.amsa.gov.au"); System.setProperty("https.proxyPort", "8080"); final double topLat = Double.parseDouble(args[0]); final double leftLon = Double.parseDo...
davidmoten/tile-joiner
src/main/java/com/github/davidmoten/tj/ImageCreatorMain.java
Java
apache-2.0
861
package com.example.greatbook.base; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import butterknife.ButterKnife; import butterknife.Unbinder; /** * Created by...
zhiaixinyang/LightThink
greatbook/src/main/java/com/example/greatbook/base/BaseFragment.java
Java
apache-2.0
1,231
/* * 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...
cloudscode/jibu
jibu-core/src/main/java/org/gaixie/jibu/security/service/UserService.java
Java
apache-2.0
3,745
/* * 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 ...
bharathkk/samza
samza-test/src/main/java/org/apache/samza/test/framework/system/descriptors/InMemoryInputDescriptor.java
Java
apache-2.0
1,923
package com.example.qtm.coolweather.gson; import com.google.gson.annotations.SerializedName; /** * Created by QTM on 2017/3/27. */ public class Suggestion { @SerializedName("comf") public Comfort comfort; public class Comfort{ @SerializedName("txt") public String info; } @Seria...
qintianmingDev/coolweather
app/src/main/java/com/example/qtm/coolweather/gson/Suggestion.java
Java
apache-2.0
571
package org.apache.http.client; /* * #%L * Matos * $Id:$ * $HeadURL:$ * %% * Copyright (C) 2010 - 2014 Orange SA * %% * 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...
Orange-OpenSource/matos-profiles
matos-android/src/main/java/org/apache/http/client/CredentialsProvider.java
Java
apache-2.0
1,028
package com.ctrip.xpipe.redis.console.health.console; import com.ctrip.xpipe.redis.console.alert.ALERT_TYPE; import com.ctrip.xpipe.redis.console.config.impl.DefaultConsoleDbConfig; import com.ctrip.xpipe.redis.console.model.ConfigModel; import org.springframework.stereotype.Component; /** * @author chen.zhu * <p> ...
Yiiinsh/x-pipe
redis/redis-console/src/main/java/com/ctrip/xpipe/redis/console/health/console/SentinelAutoProcessChecker.java
Java
apache-2.0
1,198
/* * Jicofo, the Jitsi Conference Focus. * * Copyright @ 2016-Present 8x8, 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 * ...
jitsi/jicofo
src/main/java/org/jitsi/jicofo/conference/JitsiMeetConference.java
Java
apache-2.0
4,521
package org.jerlang.erts.erlang; import org.jerlang.type.Atom; import org.jerlang.type.Integer; import org.jerlang.type.List; import org.jerlang.type.Term; /** * The multiply operator */ public class ErlangAtomMultiply { private ErlangAtomMultiply() { } public static Term dispatch(List params) { ...
jerlang/jerlang
src/main/java/org/jerlang/erts/erlang/ErlangAtomMultiply.java
Java
apache-2.0
828
/******************************************************************************* * Copyright (c) 2009 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, and is a...
vovagrechka/fucking-everything
phizdets/phizdets-idea/eclipse-src/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/zend/model/ResolveBlackList.java
Java
apache-2.0
2,605
/* * - * #%L * Pipeline: AWS Steps * %% * Copyright (C) 2017 Taimos GmbH * %% * 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 * ...
tekkamanendless/pipeline-aws-plugin
src/test/java/de/taimos/pipeline/aws/S3UploadStepTest.java
Java
apache-2.0
1,213
/** * Copyright 2012 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...
JohnBrainard/acra-cadabra
src/main/java/com/brainardphotography/acracadabra/GuestbookServlet.java
Java
apache-2.0
1,501
package uk.co.inhealthcare.ops.build.jenkins.api.config; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; @XmlAccessorType(XmlAccessType.FIELD) public class GlobalSettings { @XmlAttribute(name = "class") private String ...
Inhealthcare/carson
jenkins-client/src/main/java/uk/co/inhealthcare/ops/build/jenkins/api/config/GlobalSettings.java
Java
apache-2.0
378
/* * Copyright 2007-2009 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 requi...
sbower/kuali-rice-1
impl/src/main/java/org/kuali/rice/kew/actionrequest/bo/RuleMaintenanceActionRequestCodeValuesFinder.java
Java
apache-2.0
3,400
package org.mimosaframework.core.server; import org.mimosaframework.core.exception.ServerException; import java.util.List; public interface JoinServer extends Server { void setLeaderServerHost(String host); void setLeaderServerPort(int port); void joinServerGroup() throws ServerException; List<Se...
yangankang/mimosa
mimosa-core/src/main/java/org/mimosaframework/core/server/JoinServer.java
Java
apache-2.0
517
package edu.emory.cci.aiw.i2b2etl.dest.table; /* * #%L * AIW i2b2 ETL * %% * Copyright (C) 2012 - 2015 Emory University * %% * 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 * * ...
eurekaclinical/aiw-i2b2-etl
src/main/java/edu/emory/cci/aiw/i2b2etl/dest/table/AbstractFactHandler.java
Java
apache-2.0
4,221
package com.bxj.common; import android.os.Bundle; import android.support.v4.app.FragmentActivity; import android.text.TextUtils; import android.view.GestureDetector; import android.view.GestureDetector.SimpleOnGestureListener; import android.view.MotionEvent; import android.view.View; import android.widget.Button; imp...
wudizhuo/BXJ
app/src/main/java/com/bxj/common/BaseActivity.java
Java
apache-2.0
3,851
package kr.dogfoot.hwplib.writer.bodytext.paragraph.control.secd; import kr.dogfoot.hwplib.object.bodytext.control.sectiondefine.BatangPageInfo; import kr.dogfoot.hwplib.object.bodytext.control.sectiondefine.ListHeaderForBatangPage; import kr.dogfoot.hwplib.object.etc.HWPTag; import kr.dogfoot.hwplib.util.compoundFile...
neolord0/hwplib
src/main/java/kr/dogfoot/hwplib/writer/bodytext/paragraph/control/secd/ForBatangPageInfo.java
Java
apache-2.0
1,790
/* * Copyright 2005-2007 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 require...
sbower/kuali-rice-1
impl/src/main/java/org/kuali/rice/kew/stats/Stats.java
Java
apache-2.0
3,532
/* * Copyright 2015 JAXIO http://www.jaxio.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 applicable la...
jaxio/celerio
celerio-engine/src/main/java/com/jaxio/celerio/configuration/support/AbstractJibxLoader.java
Java
apache-2.0
2,436
/** * Copyright (C) 2015 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 or...
fabric8io/kubernetes-client
kubernetes-tests/src/test/java/io/fabric8/openshift/client/server/mock/ProjectTest.java
Java
apache-2.0
7,485
/* * Copyright 2015 Szabolcs Balazs Beres. * * 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...
szberes/spring-examples
security/java-api-security/src/main/java/com/github/szberes/spring/examples/security/java/TestedService.java
Java
apache-2.0
1,424
package com.ai.sizzler.scan.component; import java.sql.Date; import java.util.Map; public abstract class AbstractImporter implements Importer{ private long id; private String name; private String desc; private String props; private Date ctime; private long dsId; @Override public void load(Map map) { this....
playaround88/sizzler
src/main/java/com/ai/sizzler/scan/component/AbstractImporter.java
Java
apache-2.0
1,183
/* * Copyright 2016 Naver Corp. * * 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 ...
suraj-raturi/pinpoint
web/src/main/java/com/navercorp/pinpoint/web/dao/hbase/stat/v2/HbaseSampledCpuLoadDaoV2.java
Java
apache-2.0
2,783
package com.memory.platform.core.service.impl; import java.io.Serializable; import java.lang.reflect.ParameterizedType; import java.math.BigDecimal; import java.math.BigInteger; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframe...
ShareTeam/Platform
Server-Platform/Hibernate/3.0/memory-root/modules/memory-core/src/main/java/com/memory/platform/core/service/impl/BaseServiceImpl.java
Java
apache-2.0
7,123
package br.com.musicas.opus08.mylonelygirl; import java.util.Random; import org.jfugue.Pattern; public class Bateria extends Estrutura{ @Override public void inicio() { partitura.add(new Pattern("V9 X[Volume]=10000")); partitura.add(new Pattern("[SIDE_STICK]q [SIDE_STICK]q [SIDE_STICK]q [SIDE_STICK]q"), 1); ...
christianpeixoto/linguanervosa
album1/workspace/Memorable/src/br/com/musicas/opus08/mylonelygirl/Bateria.java
Java
apache-2.0
5,392
/******************************************************************************* * 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...
ofbizfriends/vogue
applications/accounting/src/org/ofbiz/accounting/thirdparty/valuelink/ValueLinkServices.java
Java
apache-2.0
72,092
package org.apache.commons.ognl; /* * 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, Ve...
mohanaraosv/commons-ognl
src/main/java/org/apache/commons/ognl/ASTList.java
Java
apache-2.0
7,472
/* * 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...
leafclick/intellij-community
java/java-impl/src/com/intellij/refactoring/introduceparameterobject/IntroduceParameterObjectHandler.java
Java
apache-2.0
5,868
/* * 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 ...
grgrzybek/karaf
bundle/core/src/main/java/org/apache/karaf/bundle/core/internal/BundleInfoImpl.java
Java
apache-2.0
5,929
package fiddle.repository; import java.io.IOException; import com.google.common.base.Optional; import com.google.common.collect.ImmutableList; public class FallbackRepository<ReadRsc, WriteRsc, Id> implements Repository<ReadRsc, WriteRsc, Id> { private final Repository<ReadRsc, WriteRsc, Id> main; private final R...
cedricbou/FiddleWith
repository/src/main/java/fiddle/repository/FallbackRepository.java
Java
apache-2.0
818
/******************************************************************************* * Copyright 2014 See AUTHORS file. * <p> * 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 * <p> * http://www....
LummECS/Lumm
lumm/core/src/main/java/dk/sidereal/lumm/architecture/core/input/ActionData.java
Java
apache-2.0
2,950
/* * Copyright 2015-2016 Red Hat, Inc, and individual 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
hal/hal.next
core/src/main/java/org/jboss/hal/core/finder/Finder.java
Java
apache-2.0
22,408
package io.druid.data.input.impl; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.ObjectMapper; import com.metamx.common.parsers.JSONToLowerParser; import com.metamx.common.parsers.Parser; import java.util.List; /** * T...
ReturnPath/druid-api
src/main/java/io/druid/data/input/impl/JSONLowercaseParseSpec.java
Java
apache-2.0
1,249
package com.wearit.shike.web.helper.sharing; public interface Share { /** * Permette di condividere un url nei social network * * @param url * da condividere */ public String share(String url); }
ZeitnotSWE/sHike
Codice/Web/src/main/java/com/wearit/shike/web/helper/sharing/Share.java
Java
apache-2.0
222
/* * Copyright 2015 Adobe Systems Incorporated * * 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...
Cognifide/gradle-aem-example
app/aem/core/src/main/java/com/company/example/core/models/package-info.java
Java
apache-2.0
724
package com.chris.bookstore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class BookStoreApplicationTests { @Test public void cont...
chriswang-/BookStore
src/test/java/com/chris/bookstore/BookStoreApplicationTests.java
Java
apache-2.0
339
package com.github.kmbulebu.nicknack.providers.pushover.internal; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.springframework.http.converter.FormHttpMessageConverter; import org.springframework.http.converter.HttpMessageConverter; import org.springframework.http.converter...
kmbulebu/NickNack
pushover-provider/src/main/java/com/github/kmbulebu/nicknack/providers/pushover/internal/PushOverClientImpl.java
Java
apache-2.0
3,397
package com.squeezer.designpatterns.interpreter; public interface Expression { public boolean interpret(String context); }
Squeezer-software/java-design-patterns
src/com/squeezer/designpatterns/interpreter/Expression.java
Java
apache-2.0
127
package com.blankj.subutil.util; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.net.Uri; import android.util.Log; import com.blankj.utilcode.util.AppUtils; import com.blankj.utilcode.util.RomUtils; import com.blankj.utilcode.util.Utils; ...
Blankj/AndroidUtilCode
lib/subutil/src/main/java/com/blankj/subutil/util/AppStoreUtils.java
Java
apache-2.0
4,928
/* * 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")...
IAMTJW/Tomcat-8.5.20
tomcat-8.5.20/java/org/apache/tomcat/jni/Directory.java
Java
apache-2.0
3,921
/* * Copyright 2014 Jonny Heggheim * * 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...
hegjon/timetracker
src/main/java/com/jonnyware/timetracker/analyzer/DateConverter.java
Java
apache-2.0
802
/* * Copyright 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 agreed to ...
rpatil26/closure-templates
java/src/com/google/template/soy/soytree/LetContentNode.java
Java
apache-2.0
7,281
/* * Copyright 2016 Ripple OSI * * 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...
RippleOSI/NE-HSCIE-Core
hscie-ripple-database/src/test/java/org/rippleosi/audit/search/AuditEntityToAuditSummaryTransformerTest.java
Java
apache-2.0
2,191
/** * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# * This file is part of the LDP4j Project: * http://www.ldp4j.org/ * * Center for Open Middleware * http://www.centeropenmiddleware.com/ * #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=# * ...
ldp4j/ldp4j
commons/core/src/test/java/org/ldp4j/xml/QualifiedNameTest.java
Java
apache-2.0
2,968
package com.intel.analytics.zoo.apps.textclassfication.inference; import com.intel.analytics.zoo.pipeline.inference.JTensor; import org.springframework.web.bind.annotation.*; import java.util.ArrayList; import java.util.List; @RestController public class WebServiceController { private TextClassificationModel te...
intel-analytics/analytics-zoo
apps/model-inference-examples/text-classification-inference/src/main/java/com/intel/analytics/zoo/apps/textclassfication/inference/WebServiceController.java
Java
apache-2.0
2,098
// files/StreamInAndOut.java // (c)2017 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://OnJava8.com for more book information. import java.io.*; import java.nio.file.*; import java.util.stream.*; public class StreamInAndOut { public static void main(Str...
mayonghui2112/helloWorld
sourceCode/OnJava8-Examples-master/files/StreamInAndOut.java
Java
apache-2.0
672
/* * 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...
jtablesaw/tablesaw
core/src/main/java/tech/tablesaw/sorting/Sort.java
Java
apache-2.0
5,503
/* * 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 ...
Geomatys/sis
storage/sis-storage/src/main/java/org/apache/sis/index/tree/Quadrant.java
Java
apache-2.0
1,578
/** * Copyright (C) 2012 Johan Grufman * * 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 ...
johangrufman/convx
convx-core/src/main/java/org/convx/writer/WriterNode.java
Java
apache-2.0
1,331
/** * Copyright 2018 Smart Society Services B.V. * * 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 */ package org.opensmartgridplatform.sha...
OSGP/Shared
shared/src/main/java/org/opensmartgridplatform/shared/infra/ws/CircuitBreakerInterceptor.java
Java
apache-2.0
2,379
/* * 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...
sonu283304/onos
core/api/src/main/java/org/onosproject/net/flow/criteria/IPv6FlowLabelCriterion.java
Java
apache-2.0
2,063
/* * Copyright 2016-2017 Davide Steduto * * 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...
davideas/FlexibleAdapter
flexible-adapter/src/main/java/eu/davidea/viewholders/ExpandableViewHolder.java
Java
apache-2.0
7,781
package examples.auction; import io.baratine.vault.IdAsset; public interface AuctionSync extends Auction { IdAsset create(AuctionDataInit initData); boolean open(); boolean bid(AuctionBid bid) throws IllegalStateException; boolean setAuctionWinner(String user); boolean clearAuctionWinner(String user...
baratine/auction
src/test/java/examples/auction/AuctionSync.java
Java
apache-2.0
470
/** * vertigo - simple java starter * * Copyright (C) 2013-2018, KleeGroup, direction.technique@kleegroup.com (http://www.kleegroup.com) * KleeGroup, Centre d'affaire la Boursidiere - BP 159 - 92357 Le Plessis Robinson Cedex - France * * Licensed under the Apache License, Version 2.0 (the "License"); * you may n...
KleeGroup/vertigo-addons
vertigo-struts2/src/test/java/io/vertigo/struts2/domain/reference/Commune.java
Java
apache-2.0
3,560
/* * JBoss, Home of Professional Open Source * Copyright 2011, Red Hat, Inc. and/or its affiliates, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may ...
gastaldi/hibernate-validator
hibernate-validator/src/test/java/org/hibernate/validator/test/metadata/ChildWithAtValid.java
Java
apache-2.0
1,016
/* * 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...
leafclick/intellij-community
platform/lang-impl/src/com/intellij/usageView/impl/UsageContextCallHierarchyPanel.java
Java
apache-2.0
5,209
package eu.dnetlib.iis.wf.referenceextraction; /** * Exception indicating number of retries exceeded the predefined limit. * * @author mhorst * */ public class RetryLimitExceededException extends Exception { private static final long serialVersionUID = -1084913230112190824L; //-------------------...
openaire/iis
iis-wf/iis-wf-referenceextraction/src/main/java/eu/dnetlib/iis/wf/referenceextraction/RetryLimitExceededException.java
Java
apache-2.0
450
// 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.siyeh.ig.testFrameworks; import com.intellij.psi.*; import com.siyeh.ig.junit.JUnitCommonClassNames; import org.jetbrains.annotations.NonNls; import org.jetbrains.ann...
leafclick/intellij-community
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/testFrameworks/AssertHint.java
Java
apache-2.0
8,389
/* Copyright 2014 Reo_SP 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 dist...
reo7sp/SBF-Bukkit-Plugin
src/net/sbfmc/modules/mooncraft/MooncraftPlayerSession.java
Java
apache-2.0
3,352
package org.github.wpiasecki.graviola.modelo; import org.github.wpiasecki.graviola.db.Coluna; import org.github.wpiasecki.graviola.db.Tabela; import android.provider.BaseColumns; public class Horario implements Tabela { public static final String ID = BaseColumns._ID; public static final String HORA = "hora"; pu...
wpiasecki/graviola-android
src/org/github/wpiasecki/graviola/modelo/Horario.java
Java
apache-2.0
846
/* * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) 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.html...
IHTSDO/snow-owl
dependencies/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/internal/common/revision/delta/CDORevisionDeltaImpl.java
Java
apache-2.0
15,910
/** * Copyright (C) 2006-2013 phloc systems * http://www.phloc.com * office[at]phloc[dot]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/license...
lsimons/phloc-schematron-standalone
phloc-commons/src/test/java/com/phloc/commons/xml/ChildElementIteratorTest.java
Java
apache-2.0
2,263
package com.lachesis.mnisqm.module.qualityForm.domain; import java.util.Date; public class QualityIssueManage { private Long seqId; private String resultCode; private String formName; private String issueContent; private String issueUserCode; private Date issueTime; private String re...
gavin2lee/incubator
mnisqm/mnisqm-services/src/main/java/com/lachesis/mnisqm/module/qualityForm/domain/QualityIssueManage.java
Java
apache-2.0
5,353
/* * 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 ...
kisskys/incubator-asterixdb
asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/feed/management/FeedLifecycleEventSubscriber.java
Java
apache-2.0
2,359
package org.cp.monitor.resources; /** * Created by: Nappa * Version: 0.01 * Since: 0.01 */ public class Resource { protected int number; protected boolean isLocked; public Resource(final Integer number){ this.number=number; } public String toString(){ return String.format("%...
karolgurecki/Concurrent-Programming
CPMonitor/src/main/java/org/cp/monitor/resources/Resource.java
Java
apache-2.0
584
/******************************************************************************* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. ComicGenie licenses this * file to you under the Apache License, Version 2.0 (the "License"); * you may not use this file e...
comicgenie/rdf
src/main/java/org/comicwiki/model/schema/CreativeWorkSeries.java
Java
apache-2.0
1,320
package com.credit.web.util; /** * 枚举接口 * @author xiao.peng * */ public interface RealizeEnumName { public String getName(); }
creditteam/credit_web
src/main/java/com/credit/web/util/RealizeEnumName.java
Java
apache-2.0
144