code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
/* * Copyright 2015 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...
kahboom/apiman
gateway/platforms/servlet/src/test/java/io/apiman/gateway/platforms/servlet/auth/tls/CipherAndProtocolSelectionTest.java
Java
apache-2.0
16,375
package com.therealdanvega.blog.repository; import com.therealdanvega.blog.domain.Blog; import org.springframework.data.jpa.repository.*; import java.util.List; /** * Spring Data JPA repository for the Blog entity. */ @SuppressWarnings("unused") public interface BlogRepository extends JpaRepository<Blog,Long> { ...
cfaddict/jhipster-course
sample-app/entblog/src/main/java/com/therealdanvega/blog/repository/BlogRepository.java
Java
apache-2.0
453
package org.codehaus.groovy.grails.validation; import groovy.lang.Closure; import groovy.lang.GroovyShell; /** * Test cases for custom 'validator' constraint. * * @author Sergey Nebolsin (<a href="mailto:nebolsin@gmail.com"/>) */ public class ValidatorConstraintTests extends AbstractConstraintTests { ...
jeffbrown/grailsnolib
grails-test-suite-uber/src/test/groovy/org/codehaus/groovy/grails/validation/ValidatorConstraintTests.java
Java
apache-2.0
4,992
/* * Copyright 2014 Wouter Pinnoo * * 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...
wpinnoo/GarbageCalendar
app/src/main/java/eu/pinnoo/garbagecalendar/data/Sector.java
Java
apache-2.0
2,236
/* * Copyright 2019 Red Hat, Inc. and/or its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
porcelli-forks/kie-wb-common
kie-wb-common-dmn/kie-wb-common-dmn-api/src/test/java/org/kie/workbench/common/dmn/api/definition/model/LiteralExpressionTest.java
Java
apache-2.0
3,360
/* * 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 ...
mattyb149/nifi
nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/util/DataTypeUtils.java
Java
apache-2.0
80,351
package net.graphical.model.causality.graph.model.AdjImpl; import net.graphical.model.causality.graph.model.Edge; import net.graphical.model.causality.graph.model.EdgeType; import net.graphical.model.causality.graph.model.Node; import java.util.*; import java.util.stream.Collectors; /** * Created by sli on 10/27/1...
lisongshan/causalGraphicalModel
causality/src/main/java/net/graphical/model/causality/graph/model/AdjImpl/GraphBase.java
Java
apache-2.0
10,564
package com.github.vivchar.rendererrecyclerviewadapter; import androidx.recyclerview.widget.DiffUtil; /** * Created by Vivchar Vitaly on 21.10.17. */ public abstract class DiffCallback <BM extends ViewModel> extends DiffUtil.ItemCallback<BM> {}
vivchar/RendererRecyclerViewAdapter
rendererrecyclerviewadapter/src/main/java/com/github/vivchar/rendererrecyclerviewadapter/DiffCallback.java
Java
apache-2.0
248
/* ************************************************************************ # # DivConq # # http://divconq.com/ # # Copyright: # Copyright 2014 eTimeline, LLC. All rights reserved. # # License: # See the license.txt file in the project's top-level directory for details. # # Authors: # * Andy ...
gspandy/divconq
divconq.core/src/main/java/divconq/log/Logger.java
Java
apache-2.0
16,322
package consulo.hub.backend.repository; import consulo.hub.shared.auth.Roles; import consulo.hub.shared.auth.domain.UserAccount; import consulo.hub.shared.repository.PluginChannel; import consulo.hub.shared.repository.PluginNode; import org.springframework.beans.factory.annotation.Autowired; import org.springframework...
consulo/hub.consulo.io
backend/src/main/java/consulo/hub/backend/repository/PluginChannelRestController.java
Java
apache-2.0
6,497
/** * Copyright 2011 Diego Ceccarelli * * 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 ...
naveenmadhire/json-wikipedia
src/main/java/it/cnr/isti/hpc/wikipedia/reader/WikipediaArticleReader.java
Java
apache-2.0
5,043
package com.netsun.labuy.utils; import java.io.IOException; import okhttp3.Callback; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.RequestBody; import okhttp3.Response; /** * Created by Administrator on 2017/2/24. */ public class HttpUtils { public static void get(String url, Callback ca...
yljnet/Labuy
app/src/main/java/com/netsun/labuy/utils/HttpUtils.java
Java
apache-2.0
1,145
package com.turalt.openmentor.security; import static org.easymock.EasyMock.*; import java.io.UnsupportedEncodingException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.shiro.authc.AuthenticationException; import org.apache.shiro.authc.Authentication...
morungos/turalt-openmentor
src/test/java/com/turalt/openmentor/security/SessionAuthenticationFilterTest.java
Java
apache-2.0
9,236
package Cheiron.Datasource; import java.util.Map; public abstract class Datasource { public abstract Map<String, Map<String, String>> getData() throws Exception; public Object get(String field) throws Exception { return this.getClass().getDeclaredField(field).get(this); } public void set(String field, Object...
schlusslicht/Cheiron
src/Cheiron/Datasource/Datasource.java
Java
apache-2.0
413
/* * 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...
equella/Equella
Source/Plugins/Core/com.equella.core/src/com/tle/web/sections/jquery/libraries/JQueryDroppable.java
Java
apache-2.0
1,764
package br.com.fuelclub.entity; import java.util.List; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.ManyToMany; import javax.persistence.Table; @Entity @Table (name = "Dias_da_Semana") public c...
lucasgrittem/AppsCwb
FuelClubWeb/src/br/com/fuelclub/entity/Dias_Da_Semana.java
Java
apache-2.0
2,617
/* * Copyright 2006-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 app...
hmmlopez/citrus
modules/citrus-core/src/main/java/com/consol/citrus/validation/json/JsonPathMessageConstructionInterceptor.java
Java
apache-2.0
4,178
package org.consumersunion.stories.dashboard.client.application.ui.block.configurator; import org.consumersunion.stories.common.client.util.Callback; import org.consumersunion.stories.dashboard.client.application.ui.block.HasValidation; import com.google.gwt.editor.client.Editor; /** * Interface for the various {@l...
stori-es/stori_es
dashboard/src/main/java/org/consumersunion/stories/dashboard/client/application/ui/block/configurator/BlockConfigurator.java
Java
apache-2.0
664
/* * Copyright 2002-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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-projects/spring-security
config/src/main/java/org/springframework/security/config/http/UserDetailsServiceFactoryBean.java
Java
apache-2.0
5,210
/* * Copyright 2011 Henri Kerola * * 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...
tilioteo/vmaps
src/main/java/org/vaadin/gwtgraphics/client/Image.java
Java
apache-2.0
4,289
package eu.newsreader.eventcoreference.output; import eu.newsreader.eventcoreference.input.CorefSaxParser; import eu.newsreader.eventcoreference.objects.CoRefSetAgata; import eu.newsreader.eventcoreference.objects.CorefTargetAgata; import eu.newsreader.eventcoreference.objects.Triple; import java.io.File; import java...
newsreader/StreamEventCoreference
src/main/java/eu/newsreader/eventcoreference/output/CorefSetToSem.java
Java
apache-2.0
27,687
/* * Copyright 2012 Denis Neuling * * 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 ...
denisneuling/cctrl.jar
cctrl-api/src/main/java/com/cloudcontrolled/api/model/Version.java
Java
apache-2.0
2,646
/* * 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...
lburgazzoli/apache-activemq-artemis
examples/features/standard/ssl-enabled-dual-authentication/src/main/java/org/apache/activemq/artemis/jms/example/SSLDualAuthenticationExample.java
Java
apache-2.0
3,962
package com.formulasearchengine.mathosphere.mlp.text; import com.google.common.collect.Lists; import org.junit.Assert; import org.junit.Test; import java.io.File; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; import java...
TU-Berlin/mathosphere
mathosphere-core/src/test/java/com/formulasearchengine/mathosphere/mlp/text/WikidataInterfaceTest.java
Java
apache-2.0
6,118
package com.sgu.infowksporga.jfx.menu.action.edit; import java.awt.event.ActionEvent; import com.sgu.apt.annotation.AnnotationConfig; import com.sgu.apt.annotation.i18n.I18n; import com.sgu.apt.annotation.i18n.I18nProperty; import com.sgu.core.framework.gui.swing.util.UtilGUI; import com.sgu.infowksporga.jfx.menu.act...
sguisse/InfoWkspOrga
10-Application/Application/Swing-Sample-APP/src/main/java/com/sgu/infowksporga/jfx/menu/action/edit/RemoveFileExplorerViewFilesAction.java
Java
apache-2.0
2,323
package org.canova.api.berkeley; /** * A function wrapping interface. * @author John DeNero */ public interface MyMethod<I, O> { public O call(I obj); }
jpatanooga/Canova
canova-api/src/main/java/org/canova/api/berkeley/MyMethod.java
Java
apache-2.0
157
package edu.indiana.soic.spidal.dapwc; public class PlotTools { // TODO - fix PlotTools /* public static void CreatePlotWithCenters(String centerFile, String pointsFile, String clusterNumberFile, int numberOfCenterPointsToIncludeInEachCenterType, String centerPlotFile, String plotDescription) { *//* Generate al...
DSC-SPIDAL/dapwc
src/main/java/edu/indiana/soic/spidal/dapwc/PlotTools.java
Java
apache-2.0
14,272
package com.limagiran.hearthstone.heroi.view; import com.limagiran.hearthstone.heroi.control.Heroi; import com.limagiran.hearthstone.util.AbsolutesConstraints; import com.limagiran.hearthstone.util.Images; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; import org.netbeans.lib.awte...
limagiran/hearthstone
src/com/limagiran/hearthstone/heroi/view/PanelHeroi.java
Java
apache-2.0
1,754
/* * 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...
googleapis/java-compute
google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskTypesCallableFactory.java
Java
apache-2.0
4,644
package android.coolweather.com.coolweather.service; import android.app.AlarmManager; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; import android.content.SharedPreferences; import android.coolweather.com.coolweather.gson.Weather; import android.coolweather.com.coolweathe...
shiyuzhe/coolweather
app/src/main/java/android/coolweather/com/coolweather/service/AutoUpdateService.java
Java
apache-2.0
3,589
/* * Copyright 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 b...
leapframework/framework
data/orm/src/main/java/leap/orm/domain/Domain.java
Java
apache-2.0
4,481
package fw.db.connection.impl; import fw.common.util.CE; import fw.common.util.LE; import fw.db.connection.DBException; import fw.db.connection.RecordHandler; import java.sql.ResultSet; import java.sql.ResultSetMetaData; /** * 通用的EntityBean查询映射处理类<br/> * NOTE: 给定的Entity必须符合STREET规定的命名规则 * @author dzb * * @para...
dzb/fw-kit
src/main/java/fw/db/connection/impl/RecordHandlerImpl.java
Java
apache-2.0
1,457
package me.jasoncampos.inject.persist.hibernate; import static org.junit.Assert.assertEquals; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Map; import javax.persistence.Entity; import javax.persistence.Id; import org.junit.Before; import org.junit.Test; import com....
jcampos8782/guice-persist-hibernate
guice-persist-hibernate-core/src/test/java/me/jasoncampos/inject/persist/hibernate/HibernatePersistModuleTest.java
Java
apache-2.0
2,609
/* * java API for the SatoChip Bitcoin Hardware Wallet * (c) 2015 by Toporin - 16DMCk4WUaHofchAhpMaQS4UPm4urcy2dN * Sources available on https://github.com/Toporin * * Copyright 2015 by Toporin (https://github.com/Toporin) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may n...
Toporin/SatoChipClient
src/main/java/org/satochip/satochipclient/CardConnectorException.java
Java
apache-2.0
2,634
package com.ybook.app.pinnedheaderlistview; import android.util.SparseArray; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import com.ybook.app.pinnedheaderlistview.PinnedHeaderListView.PinnedSectionedHeaderAdapter; public abstract class SectionedBaseAdapter extends BaseA...
a642500/Ybook
app/src/main/java/com/ybook/app/pinnedheaderlistview/SectionedBaseAdapter.java
Java
apache-2.0
6,634
/* * Copyright 2013 Maksim Kisilyov * * 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...
MKisilyov/P4CTM
src/com/luxoft/p4ctm/CTMBuilderOptions.java
Java
apache-2.0
6,603
/* * Copyright (c) 2017 pCloud AG * * 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...
pCloud/pcloud-networking-java
serialization/src/test/java/com/pcloud/networking/serialization/EnumTypeAdapterTest.java
Java
apache-2.0
5,009
package ir.ops; import ir.visitor.IrVisitor; public class ArrayAccess implements Expression { private Expression reference; private DataType type; private Expression index; public ArrayAccess(Expression reference, DataType type, Expression index) { this.reference = reference; this.type = type; this.in...
AndrewHancock/MiniJava-compiler
src/main/java/ir/ops/ArrayAccess.java
Java
apache-2.0
691
/* ** Copyright (C) 2003-2010 Institute for Systems Biology ** Seattle, Washington, USA. ** ** This library 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;...
hrovira/addama-googlecode
commons/httpclient-support/src/main/java/org/systemsbiology/addama/commons/httpclient/support/IsExpectedStatusCodeResponseCallback.java
Java
apache-2.0
1,491
package org.mk300.marshal.minimum.test; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.util.Date; import java.util.concurrent.LinkedBlockingDeque; import java.util.concurrent.atomic.AtomicReferenceArray; import org.apache.commons.io.HexDump; import org.junit.Test; import org.mk...
mkobayas/minimum-marshaller
src/test/java/org/mk300/marshal/minimum/test/LinkedBlockingDequeTest.java
Java
apache-2.0
3,613
/* * Copyright 2013-2014 UOL - Universo Online Team * * 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 require...
uolcombr/runas
src/main/java/br/com/uol/runas/MainApplication.java
Java
apache-2.0
1,072
package net.nopattern.cordova.brightcoveplayer; /** * Created by peterchin on 6/9/16. */ public enum Cmd { LOAD, LOADED, DISABLE, ENABLE, PAUSE, PLAY, HIDE, SHOW, SEEK, RATE, RESUME, REPOSITION };
MedStudy/brightcove-player-plugin
src/android/Cmd.java
Java
apache-2.0
248
/** * Copyright 2010 CosmoCode 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 * * Unless required by applicable law or agreed...
palava/palava-model
src/main/java/de/cosmocode/palava/model/business/AbstractAddress.java
Java
apache-2.0
7,669
package cn.xishan.oftenporter.demo.testmem.porter; import cn.xishan.oftenporter.porter.core.annotation.AutoSet; import cn.xishan.oftenporter.porter.core.util.LogMethodInvoke; /** * @author Created by https://github.com/CLovinr on 2018/9/22. */ public class MemUnit { @AutoSet Obj1 obj1; @LogMethodInvoke...
gzxishan/OftenPorter
Demo/src/main/java/cn/xishan/oftenporter/demo/testmem/porter/MemUnit.java
Java
apache-2.0
481
/******************************************************************************* * Copyright (C) 2017 Push Technology 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.a...
pushtechnology/diffusion-rest-adapter
configuration-model/src/main/java/com/pushtechnology/adapters/rest/model/v13/EndpointConfig.java
Java
apache-2.0
1,884
/* * Copyright 2015 - FOCONIS AG * * 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...
rPraml/org.openntf.domino
domino/commons/src/main/java/org/openntf/domino/commons/Hash.java
Java
apache-2.0
3,653
/* * Copyright 2014-2019 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 "licen...
jentfoo/aws-sdk-java
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/transform/DurationRangeJsonUnmarshaller.java
Java
apache-2.0
2,962
/** * <copyright> * </copyright> * * $Id$ */ package kieker.tools.slastic.metamodel.componentAssembly; import kieker.tools.slastic.metamodel.core.FQNamedEntity; import kieker.tools.slastic.metamodel.typeRepository.ConnectorType; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Asse...
SLAsticSPE/slastic
src-gen/kieker/tools/slastic/metamodel/componentAssembly/AssemblyConnector.java
Java
apache-2.0
1,803
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
zpao/buck
src/com/facebook/buck/features/project/intellij/IntellijModulesListParser.java
Java
apache-2.0
3,637
//----------------------------------------------------------------------------- // // (C) Brandon Valosek, 2011 <bvalosek@gmail.com> // //----------------------------------------------------------------------------- // Modified by Willi Ye to work with big.LITTLE package com.bvalosek.cpuspy; import android.app.Applic...
Swapnil133609/Zeus-Controls
app/src/main/java/com/bvalosek/cpuspy/CpuSpyApp.java
Java
apache-2.0
2,362
/* * Copyright 2017-2022 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 "licen...
aws/aws-sdk-java
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/ConfluenceSpaceToIndexFieldMapping.java
Java
apache-2.0
10,473
/* * Copyright 2017-2022 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 "licen...
aws/aws-sdk-java
aws-java-sdk-shield/src/main/java/com/amazonaws/services/shield/model/SummarizedAttackVector.java
Java
apache-2.0
7,238
/** * 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...
punkhorn/camel-upstream
components/camel-rest/src/main/java/org/apache/camel/component/rest/RestEndpoint.java
Java
apache-2.0
20,335
/** * Copyright (c) 2013-2021 Nikita Koksharov * * 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...
redisson/redisson
redisson-spring-data/redisson-spring-data-22/src/main/java/org/redisson/spring/data/connection/RedissonReactiveStreamCommands.java
Java
apache-2.0
13,883
package chatty; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Test; import static org.junit.Assert.*; /** * * @author tduva */ public cl...
Javaec/ChattyRus
test/chatty/AddressbookTest.java
Java
apache-2.0
1,323
/** * 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...
winningsix/hive
ql/src/java/org/apache/hadoop/hive/ql/optimizer/GlobalLimitOptimizer.java
Java
apache-2.0
8,347
package com.luciofm.presentation.androidsalao; public interface DisplayService { void connection(boolean connetion); void next(); void previous(); void advance(); }
luciofm/AndroidSalao
src/com/luciofm/presentation/androidsalao/DisplayService.java
Java
apache-2.0
175
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...
yongjhih/kaif-android
app/src/main/java/io/kaif/mobile/app/BaseFragment.java
Java
apache-2.0
438
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...
state-hiu/geowave
geowave-accumulo/src/main/java/mil/nga/giat/geowave/accumulo/AccumuloRowId.java
Java
apache-2.0
2,604
/* * 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...
alibaba/Sentinel
sentinel-dashboard/src/test/java/com/alibaba/csp/sentinel/dashboard/rule/zookeeper/ZookeeperConfigUtil.java
Java
apache-2.0
1,381
/* * 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 ...
gzsombor/ranger
ranger-elasticsearch-plugin-shim/src/main/java/org/apache/ranger/authorization/elasticsearch/authorizer/RangerElasticsearchAuthorizer.java
Java
apache-2.0
3,996
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...
jbqueyrie/TPOpenCompare
src/test/java/org/opencompare/StatisticsPlusPlusTest.java
Java
apache-2.0
11,353
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...
AlanJager/zstack
plugin/flatNetworkProvider/src/main/java/org/zstack/network/service/flat/FlatDhcpAcquireDhcpServerIpReply.java
Java
apache-2.0
1,199
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...
yijia1992/coolweather
app/src/main/java/com/example/coolweather/MainActivity.java
Java
apache-2.0
1,121
/* * 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 ...
Guardiola31337/HexGrid
hexgrid/src/main/java/com/pguardiola/HexagonViewNorthSouth.java
Java
apache-2.0
3,676
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 * ...
yongxu16/agile-test
src/test/java/configuration/ConfigurationTest.java
Java
apache-2.0
787
/* * 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...
planoAccess/clonedONOS
apps/vtn/vtnweb/src/main/java/org/onosproject/vtnweb/web/FlowClassifierCodec.java
Java
apache-2.0
6,133
/* * 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...
CaMnter/SaveVolley
volley-comments/src/main/java/com/android/volley/NetworkDispatcher.java
Java
apache-2.0
10,456
/* * 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...
equella/Equella
Source/Plugins/Core/com.equella.base/src/com/tle/common/harvester/HarvesterProfileSettings.java
Java
apache-2.0
2,776
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...
wamdue/agorbunov
chapter_005/src/main/java/ru/job4j/list/SimpleQueue.java
Java
apache-2.0
2,235
// ============================================================================ // 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...
dwdyer/uncommons-maths
core/src/java/test/org/uncommons/maths/random/PoissonGeneratorTest.java
Java
apache-2.0
3,742
/* * #%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 * ...
GwtMaterialDesign/gwt-material-addins
src/test/java/gwt/material/design/addins/client/ui/MaterialSplitPanelTest.java
Java
apache-2.0
4,086
/* * 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...
jakubnabrdalik/spring-workshops
src/main/groovy/eu/solidcraft/starter/examples/example2/repository/springdatajpa/SpringDataVisitRepository.java
Java
apache-2.0
1,116
/* * 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...
Jason-Chen-2017/restfeel
src/main/java/com/restfeel/entity/RfRequest.java
Java
apache-2.0
3,393
/* * 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 ...
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
Java
apache-2.0
15,790
/* * 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...
consulo/consulo
modules/base/platform-api/src/main/java/com/intellij/ui/speedSearch/SpeedSearch.java
Java
apache-2.0
5,838
/* * 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...
WASdev/standards.jsr352.jbatch
com.ibm.jbatch.container/src/main/java/com/ibm/jbatch/container/jsl/impl/TransitionImpl.java
Java
apache-2.0
2,254
/* 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...
alvinkwekel/camel
components/camel-coap/src/generated/java/org/apache/camel/coap/CoAPEndpointUriFactory.java
Java
apache-2.0
2,176
/* * 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...
loilo-inc/loilo-promise
promise/src/main/java/tv/loilo/promise/UntilParams.java
Java
apache-2.0
1,081
/* * 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 ...
googleapis/google-cloudevents-java
src/main/java/com/google/events/cloud/cloudbuild/v1/MachineTypeEnum.java
Java
apache-2.0
1,348
package cn.oftenporter.servlet; /** * 实现了该接口的对象,被输出时设置内容类型为{@linkplain ContentType#APP_JSON}。 */ public interface JSONHeader { }
CLovinr/OftenPorter
Porter-Bridge-Servlet/src/main/java/cn/oftenporter/servlet/JSONHeader.java
Java
apache-2.0
176
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...
simonbrunner/msnswitch-control
src/main/java/com/simonbrunner/msnswitchctrl/network/SwitchStatus.java
Java
apache-2.0
451
/* * 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 ...
smanvi-pivotal/geode
geode-core/src/main/java/org/apache/geode/internal/cache/tier/Acceptor.java
Java
apache-2.0
2,120
/* * 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...
witcxc/saiku
saiku-core/saiku-service/src/main/java/org/saiku/service/olap/totals/package-info.java
Java
apache-2.0
655
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(); /**...
fr3anthe/ifedorenko
3.1-Hibernate/3.1.2.2-CarSell/src/main/java/ru/job4j/model/dao/DCarbody.java
Java
apache-2.0
888
package com.xjt.crazypic.edit.pipeline; public interface RenderingRequestCaller { public void available(RenderingRequest request); }
jituo666/CrazyPic
src/com/xjt/crazypic/edit/pipeline/RenderingRequestCaller.java
Java
apache-2.0
138
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); } ...
orioncode/orionplatform
orion_data/orion_data_structures/src/main/java/com/orionplatform/data/data_structures/array/ArraySortService.java
Java
apache-2.0
1,201
/* * 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...
pgfox/activemq-artemis
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java
Java
apache-2.0
88,749
/** * 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...
deephacks/confit
core/src/main/java/org/deephacks/confit/internal/core/property/typesafe/impl/AbstractConfigValue.java
Java
apache-2.0
13,671
/*** *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...
far-edge/EdgeInfrastructure
Clients/dataRoutingClient/src/main/java/eu/sensap/farEdge/dataRoutingClient/registry/RegistryClient.java
Java
apache-2.0
10,728
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...
nfet/cxf-rest
src/main/java/com/lagnada/demo/cxfrest/rest/MyInterceptor.java
Java
apache-2.0
725
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...
Coreoz/Plume
plume-web-jersey/src/main/java/com/coreoz/plume/jersey/security/permission/PermissionRequestProvider.java
Java
apache-2.0
729
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"...
Skullabs/kikaha
kikaha-modules/kikaha-urouting/source/kikaha/urouting/ConverterFactoryLoader.java
Java
apache-2.0
2,325
/******************************************************************************* * 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...
metaborg/nabl
nabl2.terms/src/main/java/mb/nabl2/util/graph/alg/misc/IGraphPathFinder.java
Java
apache-2.0
2,933
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...
jjhaggar/ludum30_a_hole_new_world
core/src/com/blogspot/ludumdaresforfun/Enemy.java
Java
apache-2.0
2,894
/* * 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 ...
TomeOkin/LsPush-Server
src/main/java/app/receiver/CollectionReceiver.java
Java
apache-2.0
1,028
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...
ashnl007/jeesms
src/main/java/com/jeesms/entity/system/LoginLog.java
Java
apache-2.0
1,947
/* * 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...
nano-projects/nano-framework
nano-orm/nano-orm-jdbc/src/main/java/org/nanoframework/orm/jdbc/config/DruidJdbcConfig.java
Java
apache-2.0
5,059
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...
JeremyJacquemont/SchoolProjects
IUT/Android-Projects/Loupe/Sources/app/src/main/java/com/lpiem/apps/loupelec/utilities/customUiElement/CustomListPreference.java
Java
apache-2.0
707
/* * 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...
ReactiveX/RxJava
src/main/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableFlatMapSingle.java
Java
apache-2.0
11,229