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
@XmlJavaTypeAdapters({@XmlJavaTypeAdapter(type = DateTime.class, value = LicenceDateTimeAdapter.class)}) package org.jgrades.lic.api.model; import org.joda.time.DateTime; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapters;
baart92/jgrades
jg-backend/implementation/base/jg-lic/interface/src/main/java/org/jgrades/lic/api/model/package-info.java
Java
apache-2.0
298
package com.planet_ink.coffee_mud.Abilities.Druid; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import ...
oriontribunal/CoffeeMud
com/planet_ink/coffee_mud/Abilities/Druid/Chant_MetalMold.java
Java
apache-2.0
5,151
package stark.skshare.wechat; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void a...
jhwing/SKShare
SKShare_wechat/src/test/java/stark/skshare/wechat/ExampleUnitTest.java
Java
apache-2.0
398
package jetbrains.buildserver.sonarplugin; import jetbrains.buildServer.RunBuildException; import jetbrains.buildServer.agent.plugins.beans.PluginDescriptor; import jetbrains.buildServer.agent.runner.CommandLineBuildService; import jetbrains.buildServer.agent.runner.JavaCommandLineBuilder; import jetbrains.buildServer...
rodm/TeamCity.SonarQubePlugin
sonar-plugin-agent/src/main/java/jetbrains/buildserver/sonarplugin/SQRBuildService.java
Java
apache-2.0
8,810
/** * 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...
anandsubbu/incubator-metron
metron-platform/metron-enrichment/metron-enrichment-common/src/test/java/org/apache/metron/enrichment/cache/ObjectCacheTest.java
Java
apache-2.0
3,919
/* * 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...
KiviMao/kivi
Java.Source/spring-data-elasticsearch/src/main/java/org/springframework/data/elasticsearch/core/facet/request/RangeFacetRequestBuilder.java
Java
apache-2.0
1,997
/* * Copyright (C) 2017 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...
KiminRyu/ExoPlayer
library/core/src/test/java/com/google/android/exoplayer2/source/CompositeSequenceableLoaderTest.java
Java
apache-2.0
12,343
/** * This file is part of the Iritgo/Aktera Framework. * * Copyright (C) 2005-2011 Iritgo Technologies. * Copyright (C) 2003-2005 BueroByte GbR. * * Iritgo 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 m...
iritgo/iritgo-aktera
aktera-journal/src/main/java/de/iritgo/aktera/journal/JournalManagerImpl.java
Java
apache-2.0
10,792
/** * * Copyright 2011 (C) Rainer Schneider,Roggenburg <schnurlei@googlemail.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/LICENS...
schnurlei/jdynameta
jdy/jdy.model.metadata/src/main/java/de/jdynameta/metamodel/metainfo/MetaModelPersistentObjectCreator.java
Java
apache-2.0
5,136
package com.alittlelost.soundaffectsample; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.util.Log; import android.widget.Toast; import com.alittlelost.soundaffect.SoundAffect; public class MainActivity extends AppCompatActivity { private static final String TAG = "Mai...
seanashmore/soundAffect
app/src/main/java/com/alittlelost/soundaffectsample/MainActivity.java
Java
apache-2.0
1,306
package eu.stosdev.theresistance.model.messages; import android.support.annotation.NonNull; import java.util.Map; import eu.stosdev.theresistance.model.messages.utils.AbsEvent; import eu.stosdev.theresistance.model.messages.utils.AbsMessage; import lombok.AccessLevel; import lombok.AllArgsConstructor; import lombok....
pablow91/TheResistance
app/src/main/java/eu/stosdev/theresistance/model/messages/VoteFinishedMessage.java
Java
apache-2.0
1,034
/* * Copyright 2014-2016 Groupon, Inc * Copyright 2014-2016 The Billing Project, LLC * * The Billing 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...
sbrossie/killbill
profiles/killbill/src/main/java/org/killbill/billing/server/filters/RequestDataFilter.java
Java
apache-2.0
4,158
/** * Copyright (C) 2013-2014 EaseMob Technologies. 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 requi...
liyuzhao/enterpriseChat-android
src/com/easemob/chatuidemo/activity/VoiceCallActivity.java
Java
apache-2.0
14,957
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.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...
xasx/camunda-bpm-platform
qa/test-db-instance-migration/test-migration/src/test/java/org/camunda/bpm/qa/upgrade/scenarios720/eventsubprocess/NestedParallelNonInterruptingEventSubprocessScenarioTest.java
Java
apache-2.0
8,570
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
ullgren/camel
components/camel-platform-http-vertx/src/main/java/org/apache/camel/component/platform/http/vertx/VertxPlatformHttpConsumer.java
Java
apache-2.0
9,366
/* * Copyright (C) 2014 Andrei Varabyeu * * 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...
avarabyeu/restendpoint
src/main/java/com/github/avarabyeu/restendpoint/http/ErrorHandler.java
Java
apache-2.0
1,364
package com.sibilantsolutions.grison; import java.io.IOException; import java.net.SocketException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework....
jtgeiger/grison
demo/src/main/java/com/sibilantsolutions/grison/Grison.java
Java
apache-2.0
2,832
/** * Licensed to Odiago, Inc. under one or more contributor license * agreements. See the NOTICE.txt file distributed with this work for * additional information regarding copyright ownership. Odiago, Inc. * licenses this file to you under the Apache License, Version 2.0 (the * "License"); you may not use this ...
flumebase/flumebase
src/main/java/com/odiago/flumebase/exec/DummyExecEnv.java
Java
apache-2.0
2,989
/* ======================================================================== * PlantUML : a free UML diagram generator * ======================================================================== * * (C) Copyright 2009-2020, Arnaud Roques * * Project Info: https://plantuml.com * * If you like this project or if ...
talsma-ict/umldoclet
src/plantuml-asl/src/net/sourceforge/plantuml/help/CommandHelpFont.java
Java
apache-2.0
2,606
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
RobAltena/deeplearning4j
nd4j/nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/api/ops/impl/shape/Reshape.java
Java
apache-2.0
4,835
/** * 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...
kiritbasu/datacollector
commonlib/src/main/java/com/streamsets/pipeline/lib/parser/sdcrecord/SdcRecordDataParserFactory.java
Java
apache-2.0
2,224
/* * Copyright 2018-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
romanoid/buck
test/com/facebook/buck/artifact_cache/ArtifactCachesIntegrationTest.java
Java
apache-2.0
25,258
package com.innerfunction.uri; import android.content.Context; import android.content.SharedPreferences; import android.util.Log; import com.innerfunction.util.NotificationCenter; /** * Object for representing local preference data resources. */ public class LocalResource extends Resource { private static fina...
innerfunction/semo-core-and
src/com/innerfunction/uri/LocalResource.java
Java
apache-2.0
1,815
/* * Copyright 2017 Anton Tananaev (anton@traccar.org) * Copyright 2017 Andrey Kunitsyn (andrey@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache....
5of9/traccar
src/org/traccar/model/GroupAttribute.java
Java
apache-2.0
1,103
package de.mhus.cap.core; import java.util.UUID; import org.eclipse.swt.graphics.Image; import de.mhus.lib.MException; import de.mhus.lib.cao.CaoException; import de.mhus.lib.cao.util.MutableElement; import de.mhus.lib.cao.util.NoneApplication; import de.mhus.lib.config.IConfig; public class ConnectionDefinition ex...
mhus/mhus-inka
de.mhus.hair/hair3/de.mhus.cap.core/src/de/mhus/cap/core/ConnectionDefinition.java
Java
apache-2.0
2,185
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless required by a...
ua-eas/ksd-kc5.2.1-rice2.3.6-ua
rice-framework/krad-web-framework/src/main/java/org/kuali/rice/krad/datadictionary/DataDictionaryIndexMapper.java
Java
apache-2.0
14,959
package com.ding.mobilesafe.domain; /** * 黑名单号码的业务bean * @author Administrator * */ public class BlackNumberInfo { private String number; private String mode; public String getNumber() { return number; } public void setNumber(String number) { this.number = number; } public String getMode() { return...
ding327/MobileSafe
src/com/ding/mobilesafe/domain/BlackNumberInfo.java
Java
apache-2.0
409
/* * (c) Copyright 2020 Micro Focus, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
CloudSlang/score-actions
cs-nutanix-prism/src/main/java/io/cloudslang/content/nutanix/prism/entities/NutanixCommonInputs.java
Java
apache-2.0
12,806
/* siddhartha dimania */ package com.alarmpro_x; import java.text.DateFormat; import java.util.Calendar; import java.util.Date; import android.app.Activity; import android.content.ContentValues; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import androi...
siddimania/AlarmPro-X
src/com/alarmpro_x/MainActivity.java
Java
apache-2.0
5,518
package ru.job4j.calculator.operations; /** * Substract operation. */ public class SubstractOperation implements SingleOperation { /** * String key of substract operation. */ private final String key = "-"; @Override public String key() { return key; } @Override public...
MironovVadim/vmironov
chapter_001/src/main/java/ru/job4j/calculator/operations/SubstractOperation.java
Java
apache-2.0
410
package com.frankzhu.appbaselibrary.base; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.widget.SwipeRefreshLayout; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.frankzhu.appbaselibrary.R; /** * Author: Zhu...
Frank-Zhu/FZBaseLib
appbaselibrary/src/main/java/com/frankzhu/appbaselibrary/base/FZBasePullRefreshFragment.java
Java
apache-2.0
2,283
package com.sequenceiq.cloudbreak.cm.client.transaction; import com.sequenceiq.cloudbreak.common.exception.CloudbreakServiceException; public class CmApiCallInTransactionException extends CloudbreakServiceException { public CmApiCallInTransactionException(String message) { super(message); } publi...
hortonworks/cloudbreak
client-cm/src/main/java/com/sequenceiq/cloudbreak/cm/client/transaction/CmApiCallInTransactionException.java
Java
apache-2.0
519
package oracleconnector.interfaces; import java.sql.Connection; import java.sql.SQLException; public interface ConnectionManager { Connection getConnection(final String jdbcUrl, final String userName, final String password) throws SQLException; }
ako/OracleConnector
javasource/oracleconnector/interfaces/ConnectionManager.java
Java
apache-2.0
254
/* * 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 re...
jroper/netty
codec/src/test/java/io/netty/handler/codec/marshalling/RiverCompatibleMarshallingDecoderTest.java
Java
apache-2.0
1,352
package com.github.hartorn.mysql2pgsql; import java.io.IOException; import java.io.Writer; import java.text.MessageFormat; import java.util.HashMap; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.xm...
Hartorn/mysql2postgresql
XmlToSql/src/main/java/com/github/hartorn/mysql2pgsql/Xml2SqlDataEventHandler.java
Java
apache-2.0
5,518
/* Copyright 2013 Giovanni Bricconi 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...
gibri/kelvin
kelvin/src/main/java/org/apache/solr/kelvin/SingletonConditionRegistry.java
Java
apache-2.0
1,930
/* * Copyright 2017 Roberto Alonso De la Garza Mendoza. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
FulanoD3Tal/Thetvdb_api_v2
src/com/fulanodetalcompany/gson/models/main.java
Java
apache-2.0
788
package com.sengled.rest.data.dynamodb.test; import com.sengled.rest.data.dynamodb.domain.User; import org.junit.Test; import org.junit.runner.RunWith; import com.sengled.rest.data.dynamodb.repository.UserRepository; import com.sengled.rest.data.dynamodb.util.JsonUtil; import org.springframework.beans.factory.annotati...
las1991/spring-data-dynamodb-demo
src/main/java/com/sengled/rest/data/dynamodb/test/UserRepositoryIntegrationTest.java
Java
apache-2.0
1,714
package com.pokemaps.pokemaps; import java.util.Random; import com.google.android.gms.maps.model.LatLng; import com.pokemaps.pokemaps.data.Item; import com.pokemaps.pokemaps.data.Pokemon; import com.pokemaps.pokemaps.data.Pokemon.PokemonRarity; import com.pokemaps.pokemaps.data.Pokemon.PokemonType; import com.pokemap...
DirkBrand/Pokemaps
src/com/pokemaps/pokemaps/Utilities.java
Java
apache-2.0
10,452
package kpavlov.jsonweb; import org.springframework.boot.SpringApplication; public class Application { public static void main(String[] args) throws Exception { SpringApplication.run(AppConfig.class, args); } }
kpavlov/json-service-starter
src/main/java/kpavlov/jsonweb/Application.java
Java
apache-2.0
230
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2013.11.29 at 12:35...
ryandcarter/hybris-connector
src/main/java/org/mule/modules/hybris/model/CelumPicturesIntegrationJobsDTO.java
Java
apache-2.0
2,433
/******************************************************************************* * Copyright (c) 2000, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, an...
XClouded/t4f-core
plugin/osgi/eclipse/src/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet347.java
Java
apache-2.0
1,798
package com.globalsight.ling.tm3.core; import java.util.Comparator; import java.util.HashMap; import java.util.Map; import java.util.SortedSet; import java.util.TreeSet; /** * A set of results for a single leverage operation. */ public class TM3LeverageResults<T extends TM3Data> { private T source; privat...
tingley/tm3
src/main/java/com/globalsight/ling/tm3/core/TM3LeverageResults.java
Java
apache-2.0
4,509
/* * Copyright 2012-2017 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...
dagnir/aws-sdk-java
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/DescribeDocumentRequestMarshaller.java
Java
apache-2.0
2,380
package com.googlecode.cryptogwt.provider; import javax.crypto.BadPaddingException; import javax.crypto.IllegalBlockSizeException; public interface Padding { public int pad(byte[] input, int offset, int len, byte[] output, int outputOffset, int blockSize) throws IllegalBlockSizeException; publi...
macaroons-io/macaroons-io.github.io
jmacaroons2js/src/main/resources/com/googlecode/cryptogwt/provider/Padding.java
Java
apache-2.0
458
package be.kwakeroni.evelyn.model; import java.util.Optional; import java.util.OptionalInt; public class ParseException extends Exception { private String source = null; private Integer line = null; private Integer position = null; public ParseException(String message) { super(message); ...
kwakeroni/BusinessParameters
parameters-backend/parameters-backend-inmemory/src/main/java/be/kwakeroni/evelyn/model/ParseException.java
Java
apache-2.0
1,413
package com.hexonxons.leprawatch.view; import com.hexonxons.leprawatch.R; import android.content.Context; import android.util.AttributeSet; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.RelativeLayout; import android.widget.TextView; public ...
hexonxons/LepraWatch
LepraWatch/src/com/hexonxons/leprawatch/view/PostElementView.java
Java
apache-2.0
1,678
package ews.client.config; import org.joda.time.DateTime; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.datetime.joda.DateTimeFormatterFactory; import com.f...
t4gedieb/ews-client
src/main/java/ews/client/config/JacksonConfiguration.java
Java
apache-2.0
998
package com.suscipio_solutions.consecro_mud.Abilities.Prayers; import java.util.Vector; import com.suscipio_solutions.consecro_mud.Abilities.interfaces.Ability; import com.suscipio_solutions.consecro_mud.Common.interfaces.CMMsg; import com.suscipio_solutions.consecro_mud.Exits.interfaces.Exit; import com.suscipio_solu...
ConsecroMUD/ConsecroMUD
com/suscipio_solutions/consecro_mud/Abilities/Prayers/Prayer_SenseLife.java
Java
apache-2.0
4,481
package sdk.chat.core.dao; import android.database.Cursor; import android.database.sqlite.SQLiteStatement; import org.greenrobot.greendao.AbstractDao; import org.greenrobot.greendao.Property; import org.greenrobot.greendao.internal.DaoConfig; import org.greenrobot.greendao.database.Database; import org.greenrobot.gre...
chat-sdk/chat-sdk-android
chat-sdk-core/src/main/java/sdk/chat/core/dao/UserDao.java
Java
apache-2.0
5,306
package com.palmelf.eoffice.model.admin; import java.util.Date; import java.util.HashSet; import java.util.Set; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.GeneratedValue; import javax.persistence....
jacarrichan/eoffice
src/main/java/com/palmelf/eoffice/model/admin/ConfSummary.java
Java
apache-2.0
3,683
/** * $RCSfile$ * $Revision$ * $Date$ * * Copyright 2013 Robin Collier * * 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/L...
mcaprari/smack
test-unit/org/jivesoftware/smack/TestUtils.java
Java
apache-2.0
2,145
/* * Copyright 2016 FuckBoilerplate * * 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...
FuckBoilerplate/base_app_android
app/src/main/java/app/data/foundation/net/mock/Seeder.java
Java
apache-2.0
1,419
package org.stepic.droid.core; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.net.Uri; import androidx.annotation.NonNull; import androidx.appcompat.app.AppCompatActivity; import androidx.fragment.app.Fragment; import androidx.fragment.app.FragmentActivity; ...
StepicOrg/stepik-android
app/src/main/java/org/stepic/droid/core/ScreenManager.java
Java
apache-2.0
7,366
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
crate/crate
server/src/test/java/org/elasticsearch/cluster/coordination/FollowersCheckerTests.java
Java
apache-2.0
30,646
/* * 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-inspector/src/main/java/com/amazonaws/services/inspector/model/SecurityGroup.java
Java
apache-2.0
5,448
package ca.uhn.fhir.jpa.dao.dstu3; import static org.junit.Assert.fail; import static org.mockito.Mockito.mock; import java.io.IOException; import java.io.InputStream; import javax.persistence.EntityManager; import org.apache.commons.io.IOUtils; import org.hibernate.search.jpa.FullTextEntityManager; import org.hibe...
Cloudyle/hapi-fhir
hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu3/BaseJpaDstu3Test.java
Java
apache-2.0
11,670
package com.epam.cisen.jenkins; import org.apache.felix.scr.annotations.Component; import org.apache.felix.scr.annotations.Service; import org.osgi.service.component.ComponentContext; import com.epam.cisen.core.api.AbstractConnector; import com.epam.cisen.core.api.Connector; import com.epam.cisen.core.api.dto.CiRepor...
eliogrin/CISEN
project-java/cisen-jenkins/src/main/java/com/epam/cisen/jenkins/JenkinsConnector.java
Java
apache-2.0
1,181
/******************************************************************************* * Copyright 2011, 2012 Chris Banes. * * 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.apac...
simplelifetian/GomeOnline
jrj-TouGu/src/com/gome/haoyuangong/views/photoview/PreGingerScroller.java
Java
apache-2.0
1,807
/* * 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...
consulo/consulo-xml
xml-impl/src/main/java/com/intellij/xml/util/AnchorReferenceImpl.java
Java
apache-2.0
7,994
/* * Copyright 1&1 Internet AG, https://github.com/1and1/ * * 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...
mlhartme/metadata
src/main/java/net/oneandone/sushi/metadata/Item.java
Java
apache-2.0
5,220
package com.teamtter.sphere; import java.awt.Component; import java.util.List; public interface ISphereModule { public String getName(); public Component getMainPage(); public List<Component> getPages(); }
fmarot/idealsphere
modules-interface/src/main/java/com/teamtter/sphere/ISphereModule.java
Java
apache-2.0
213
package info.guardianproject.otr; import info.guardianproject.otr.app.im.IDataListener; import info.guardianproject.otr.app.im.app.ImApp; import info.guardianproject.otr.app.im.engine.Address; import info.guardianproject.otr.app.im.engine.ChatSession; import info.guardianproject.otr.app.im.engine.DataHandler; import i...
prive/prive-android
src/info/guardianproject/otr/OtrDataHandler.java
Java
apache-2.0
25,171
package org.acme.googlecloudfunctionshttp; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @WebServlet(name = "ServletGree...
quarkusio/quarkus
devtools/project-core-extension-codestarts/src/main/resources/codestarts/quarkus/examples/google-cloud-functions-http-example/java/src/main/java/org/acme/googlecloudfunctions/GreetingServlet.java
Java
apache-2.0
988
package com.davidbracewell.apollo.linear.sparse; import com.davidbracewell.apollo.linear.NDArray; import com.davidbracewell.apollo.linear.NDArrayFactory; import org.apache.mahout.math.function.IntDoubleProcedure; import org.apache.mahout.math.list.IntArrayList; import org.apache.mahout.math.map.OpenIntFloatHashMap; /...
dbracewell/apollo
src/main/java/com/davidbracewell/apollo/linear/sparse/SparseFloatNDArray.java
Java
apache-2.0
1,674
package com.zk.tutorial.component.extend; import org.zkoss.zul.Textbox; /** * @author csrieng * */ public class AlphaNumeric extends Textbox{ private static final long serialVersionUID = 1L; public AlphaNumeric(){ setWidgetListener("onBind", "jq(this).mask('******');"); } }
riengcs/zk-tutorial
src/main/java/com/zk/tutorial/component/extend/AlphaNumeric.java
Java
apache-2.0
285
package io.ino.solrs; import static java.util.Arrays.asList; import static java.util.concurrent.TimeUnit.SECONDS; import static java.util.stream.Collectors.toList; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.collection.IsIterableContainingInAnyOrder.containsInAnyOrder; import static org...
inoio/solrs
src/test/java/io/ino/solrs/JavaAPIFunTest.java
Java
apache-2.0
12,586
/* * 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 hu.bme.aait.tt.entity; import java.io.Serializable; import java.util.Collection; import javax.persistence.Basic; imp...
ttoth/time-tracking-system
src/java/hu/bme/aait/tt/entity/Task.java
Java
apache-2.0
3,033
// 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
google/android-uiconductor
backend/core/utils/Circular.java
Java
apache-2.0
2,650
package your.microservice.core.rest; /** * RestIdPClientAccessor * * Provides Interface for RESTful Client Accessor. * * @author jeff.a.schenk@gmail.com */ public interface RestIdPClientAccessor { /** * Your Microservice IdP Default Token Authentication Resource Path */ String YOUR_MICROSERVICE...
jaschenk/Your-Microservice
your-microservice-core/src/main/java/your/microservice/core/rest/RestIdPClientAccessor.java
Java
apache-2.0
4,840
package ro.isdc.wro.http.support; import static org.junit.Assert.assertEquals; import org.junit.Test; public class TestContentTypeResolver { @Test public void shouldResolveCSSExtenstion() { assertEquals("text/css", ContentTypeResolver.get("somefile.css")); } @Test public void shouldResolveJPGExtenst...
dacofr/wro4j
wro4j-core/src/test/java/ro/isdc/wro/http/support/TestContentTypeResolver.java
Java
apache-2.0
2,004
/* * Copyright 2016, Pavel Annin * * 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 ...
anninpavel/VTUZ_SE_Store
app/src/main/java/ru/annin/store/presentation/ui/viewholder/DetailStoreViewHolder.java
Java
apache-2.0
2,903
/* * 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 ...
StrategyObject/fop
src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
Java
apache-2.0
17,941
/* * Copyright (C) 2014 TopCoder Inc., All Rights Reserved. */ package gov.opm.scrd.services.impl.reporting; import com.itextpdf.text.pdf.PdfPTable; import com.itextpdf.text.pdf.PdfWriter; import com.lowagie.text.Table; import com.lowagie.text.rtf.RtfWriter2; import gov.opm.scrd.LoggingHelper; import gov.opm.scrd.en...
NASA-Tournament-Lab/CoECI-OPM-Service-Credit-Redeposit-Deposit-Application
Code/SCRD_BRE/src/java/ejb/gov/opm/scrd/services/impl/reporting/DeductionRatesReportService.java
Java
apache-2.0
17,452
package com.codechix.explorers.solardata.installation; public class InstallationBuilder { private SolarInstallation installation; public InstallationBuilder() { installation = new SolarInstallation(); } public SolarInstallation build() { return installation; } public Install...
codechix/CodeChix-Public-Repo
pytheas-solardata/src/main/java/com/codechix/explorers/solardata/installation/InstallationBuilder.java
Java
apache-2.0
1,689
/* * 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...
dump247/aws-sdk-java
aws-java-sdk-machinelearning/src/main/java/com/amazonaws/services/machinelearning/model/transform/S3DataSpecJsonUnmarshaller.java
Java
apache-2.0
3,572
package std.algs; import std.libs.*; /**************************************************************************** * Compilation: javac UF.java * Execution: java UF < input.txt * Dependencies: StdIn.java StdOut.java * Data files: http://algs4.cs.princeton.edu/15uf/tinyUF.txt * http://algs4...
jt120/algorithm
new-alg/src/main/java/std/algs/UF.java
Java
apache-2.0
7,659
package org.spring.bean.pojo; /** * Created by BYSocket on 2015/12/10. */ public class Car { private String name; public String getName() { return name; } public void setName(String name) { this.name = name; } }
JeffLi1993/springdream
spring/springdream-ioc/src/main/java/org/spring/bean/pojo/Car.java
Java
apache-2.0
253
package io.primeval.saga.thymeleaf.internal; import java.util.Map; import org.thymeleaf.IEngineConfiguration; import org.thymeleaf.templateresolver.AbstractConfigurableTemplateResolver; import org.thymeleaf.templateresource.ClassLoaderTemplateResource; import org.thymeleaf.templateresource.ITemplateResource; public ...
primeval-io/saga
saga-thymeleaf/src/main/java/io/primeval/saga/thymeleaf/internal/SagaTemplateResolver.java
Java
apache-2.0
1,024
/* * Artifactory is a binaries repository manager. * Copyright (C) 2012 JFrog Ltd. * * Artifactory is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your o...
alancnet/artifactory
backend/core/src/main/java/org/artifactory/repo/db/DbStoringRepoMixin.java
Java
apache-2.0
36,688
/* * 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 ...
googleapis/java-billingbudgets
proto-google-cloud-billingbudgets-v1/src/main/java/com/google/cloud/billing/budgets/v1/CustomPeriodOrBuilder.java
Java
apache-2.0
2,941
package com.bjorktech.cayman.idea.designpattern.create.factorymethod; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * User: sheshan * Date: 04/07/2018 * content: */ @Data @NoArgsConstructor @AllArgsConstructor public class CustomBean extends AbstractBean { private ...
wanliwang/cayman
cm-idea/src/main/java/com/bjorktech/cayman/idea/designpattern/create/factorymethod/CustomBean.java
Java
apache-2.0
356
package org.gradle.test.performance.mediummonolithicjavaproject.p452; public class Production9041 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
oehme/analysing-gradle-performance
my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p452/Production9041.java
Java
apache-2.0
1,891
package org.gradle.test.performance.mediummonolithicjavaproject.p55; import org.junit.Test; import static org.junit.Assert.*; public class Test1103 { Production1103 objectUnderTest = new Production1103(); @Test public void testProperty0() { String value = "value"; objectUnderTest.s...
oehme/analysing-gradle-performance
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p55/Test1103.java
Java
apache-2.0
2,110
/* * * * Copyright 2012-2015 Viant. * * * * 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...
viant/CacheStore
client/src/main/java/com/sm/store/client/TCPClientFactory.java
Java
apache-2.0
3,058
/******************************************************************************* * Copyright © 2017 EMBL - European Bioinformatics Institute * * 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 Lice...
mpi2/PhenotypeData
register-interest/src/main/java/org/mousephenotype/cda/ri/entities/ContactGene.java
Java
apache-2.0
2,149
package org.vaadin.grid.enhancements.client.navigation; import com.google.gwt.core.client.Scheduler; import com.google.gwt.dom.client.Element; import com.google.gwt.dom.client.Node; import com.google.gwt.dom.client.NodeList; import com.google.gwt.event.dom.client.KeyCodes; import com.google.gwt.user.client.Command; im...
bonprix/vaadin-grid-enhancements
GridEnhancements/src/main/java/org/vaadin/grid/enhancements/client/navigation/BodyNaviagtionHandler.java
Java
apache-2.0
2,334
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
googleapis/google-api-java-client-services
clients/google-api-services-dialogflow/v3/1.31.0/com/google/api/services/dialogflow/v3/model/GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig.java
Java
apache-2.0
2,408
/* * 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 ...
virtualdataset/metagen-java
virtdata-lib-curves4/src/main/java/org/apache/commons/math4/linear/SingularValueDecomposition.java
Java
apache-2.0
28,974
/*- * Copyright 2012 Benedikt Meurer * * 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...
bmeurer/eui4j
src/main/java/de/benediktmeurer/eui4j/package-info.java
Java
apache-2.0
1,068
package name.alexkosarev.sandbox.springboot.security; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import name.alexkosarev.sandbox.springboot.security.exceptions.TokenAuthenticationHeaderNotFound; import ...
alex-kosarev/sandbox-springboot
sandbox-springboot-security/src/main/java/name/alexkosarev/sandbox/springboot/security/TokenAuthenticationEntryPoint.java
Java
apache-2.0
1,014
package org.pathvisio.biomartconnect.impl; import java.awt.BorderLayout; import java.awt.Component; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.BoxLayout; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JLabel; import javax.swing.JPanel; import...
mkutmon/biomartconnect
src/org/pathvisio/biomartconnect/impl/TableDialog.java
Java
apache-2.0
2,032
/* * Copyright 2012-2017 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...
dagnir/aws-sdk-java
aws-java-sdk-lambda/src/main/java/com/amazonaws/services/lambda/model/transform/UntagResourceRequestProtocolMarshaller.java
Java
apache-2.0
2,580
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.financial.curve.generator; import com.opengamma.analytics.financial.interestrate.YieldCurveBundle; import com.opengamma.analytics.financial.interest...
charles-cooper/idylfin
src/com/opengamma/analytics/financial/curve/generator/GeneratorCurveYieldPeriodicInterpolatedNode.java
Java
apache-2.0
2,880
package org.vaadin.visjs.networkDiagram.event.node; import org.vaadin.visjs.networkDiagram.api.Event; import elemental.json.JsonArray; import elemental.json.JsonException; /** * Created by roshans on 11/30/14. */ public class BlurEvent extends Event { public BlurEvent(JsonArray properties) throws JsonException ...
sameeraroshan/visjs
src/main/java/org/vaadin/visjs/networkDiagram/event/node/BlurEvent.java
Java
apache-2.0
448
/* * 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 ...
iyounus/incubator-systemml
src/main/java/org/apache/sysml/api/mlcontext/ProjectInfo.java
Java
apache-2.0
3,620
package at.linuxtage.companion.model; public class DownloadScheduleResult { private static final DownloadScheduleResult RESULT_ERROR = new DownloadScheduleResult(0); private static final DownloadScheduleResult RESULT_UP_TO_DATE = new DownloadScheduleResult(0); private final int eventsCount; private DownloadSche...
linuxtage/glt-companion
app/src/main/java/at/linuxtage/companion/model/DownloadScheduleResult.java
Java
apache-2.0
951
package com.planet_ink.coffee_mud.Abilities.Prayers; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; impor...
bozimmerman/CoffeeMud
com/planet_ink/coffee_mud/Abilities/Prayers/Prayer_ConsecrateLand.java
Java
apache-2.0
4,232
/** * 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 ...
dorzey/assertj-core
src/test/java/org/assertj/core/api/url/UrlAssert_hasParameter_String_Test.java
Java
apache-2.0
1,144
/** * Copyright 2011 The Buzz Media, 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
thebuzzmedia/universal-binary-json-java
src/main/java/org/ubjson/io/charset/StreamEncoder.java
Java
apache-2.0
3,859