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 org.gradle.test.performance.mediummonolithicjavaproject.p428; import org.junit.Test; import static org.junit.Assert.*; public class Test8570 { Production8570 objectUnderTest = new Production8570(); @Test public void testProperty0() { String value = "value"; objectUnderTest....
oehme/analysing-gradle-performance
my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p428/Test8570.java
Java
apache-2.0
2,111
/* * 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 ...
davebarnes97/geode
geode-core/src/main/java/org/apache/geode/management/internal/BaseManagementService.java
Java
apache-2.0
5,962
/* * Copyright 1999-2020 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-adapter/sentinel-okhttp-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/okhttp/extractor/DefaultOkHttpResourceExtractor.java
Java
apache-2.0
997
package com.melvin.share.ui.activity; import android.content.Context; import android.databinding.DataBindingUtil; import android.text.TextUtils; import android.view.View; import android.widget.LinearLayout; import com.bumptech.glide.Glide; import com.google.gson.Gson; import com.google.gson.JsonObject; import com.goo...
MelvinWang/NewShare
NewShare/app/src/main/java/com/melvin/share/ui/activity/OderEvaluateActivity.java
Java
apache-2.0
4,380
package clockworktest.water; import com.clockwork.app.SimpleApplication; import com.clockwork.audio.AudioNode; import com.clockwork.audio.LowPassFilter; import com.clockwork.effect.ParticleEmitter; import com.clockwork.effect.ParticleMesh; import com.clockwork.input.KeyInput; import com.clockwork.input.controls.Action...
PlanetWaves/clockworkengine
branches/3.0/engine/src/test/clockworktest/water/TestPostWater.java
Java
apache-2.0
12,539
/******************************************************************************* * 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 * * ...
lordlothar99/strategy-spring-security-acl
elasticsearch/src/test/java/com/github/lothar/security/acl/elasticsearch/repository/UnknownStrategyRepository.java
Java
apache-2.0
1,173
package javassist.build; /** * A generic build exception when applying a transformer. * Wraps the real cause of the (probably javassist) root exception. * @author SNI */ @SuppressWarnings("serial") public class JavassistBuildException extends Exception { public JavassistBuildException() { super(); } public...
stephanenicolas/javassist-build-plugin-api
src/main/java/javassist/build/JavassistBuildException.java
Java
apache-2.0
569
package com.hcentive.webservice.soap; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.ws.server.endpoint.annotation.Endpoint; import org.springframework.ws.server.endpoint.annotation.PayloadRoot; import org.springframework.ws.server.endpoint.annotation.RequestPayload; import ...
mebinjacob/spring-boot-soap
src/main/java/com/hcentive/webservice/soap/FormEndpoint.java
Java
apache-2.0
1,458
/* * Copyright 2015 Luca Capra <luca.capra@gmail.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 appl...
muka/compose-java-client
src/main/java/org/createnet/compose/data/GeoPointRecord.java
Java
apache-2.0
2,062
/* * Copyright 2012-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...
clonetwin26/buck
test/com/facebook/buck/ide/intellij/ProjectIntegrationTest.java
Java
apache-2.0
16,432
/* * Copyright 2016 John Grosh <john.a.grosh@gmail.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 ap...
Blankscar/NothingToSeeHere
src/main/java/com/jagrosh/jmusicbot/commands/QueueCmd.java
Java
apache-2.0
3,885
/* * 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-opsworks/src/main/java/com/amazonaws/services/opsworks/model/DeregisterEcsClusterResult.java
Java
apache-2.0
2,373
package com.google.api.ads.adwords.jaxws.v201509.cm; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * Represents a criterion belonging to a shared set. * * * <p>Java class for SharedCrite...
gawkermedia/googleads-java-lib
modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201509/cm/SharedCriterion.java
Java
apache-2.0
2,764
package de.choesel.blechwiki.model; import com.j256.ormlite.field.DatabaseField; import com.j256.ormlite.table.DatabaseTable; import java.util.UUID; /** * Created by christian on 05.05.16. */ @DatabaseTable(tableName = "komponist") public class Komponist { @DatabaseField(generatedId = true) private UUID i...
ChristianHoesel/android-blechwiki
app/src/main/java/de/choesel/blechwiki/model/Komponist.java
Java
apache-2.0
1,341
package org.judal.examples.java.model.array; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.GregorianCalendar; import javax.jdo.JDOException; import org.judal.storage.DataSource; import org.judal.storage.EngineFactory; import org.judal.stora...
sergiomt/judal
aexample/src/main/java/org/judal/examples/java/model/array/Student.java
Java
apache-2.0
2,209
/* * Copyright 2011-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 "lice...
dagnir/aws-sdk-java
aws-java-sdk-core/src/test/java/com/amazonaws/http/apache/client/impl/ApacheConnectionManagerFactoryTest.java
Java
apache-2.0
1,653
package org.spincast.core.routing; import java.util.List; import org.spincast.core.exchange.RequestContext; /** * The result of the router, when asked to find matches for * a request. */ public interface RoutingResult<R extends RequestContext<?>> { /** * The handlers matching the route (a main handler ...
spincast/spincast-framework
spincast-core-parent/spincast-core/src/main/java/org/spincast/core/routing/RoutingResult.java
Java
apache-2.0
609
/* * 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 king.flow.common; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.go...
toyboxman/yummy-xml-UI
xml-UI/src/main/java/king/flow/common/CommonConstants.java
Java
apache-2.0
15,275
package ca.qc.bergeron.marcantoine.crammeur.android.repository.crud.sqlite; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import ca.qc.bergeron.marcantoine.crammeur.librairy.a...
crammeur/MyInvoices
crammeurAndroid/src/main/java/ca/qc/bergeron/marcantoine/crammeur/android/repository/crud/sqlite/SQLiteClient.java
Java
apache-2.0
3,537
/* * Copyright 2015 - 2021 TU Dortmund * * 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...
LearnLib/alex
backend/src/main/java/de/learnlib/alex/learning/services/BaseUrlManager.java
Java
apache-2.0
3,225
/* * Copyright 2015 Cognitive Medical Systems, Inc (http://www.cognitivemedciine.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-...
SocraticGrid/OMS-API
src/main/java/org/socraticgrid/hl7/services/orders/model/types/orderitems/MedicationOrderItem.java
Java
apache-2.0
7,408
package gui; //: gui/SubmitLabelManipulationTask.java import javax.swing.*; import java.util.concurrent.*; public class SubmitLabelManipulationTask { public static void main(String[] args) throws Exception { JFrame frame = new JFrame("Hello Swing"); final JLabel label = new JLabel("A Label"); fr...
vowovrz/thinkinj
thinkinj/src/main/java/gui/SubmitLabelManipulationTask.java
Java
apache-2.0
646
/** * 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 * * Unle...
li24361/mybatis-generator-core
src/main/java/org/mybatis/generator/codegen/ibatis2/dao/elements/UpdateByExampleWithoutBLOBsMethodGenerator.java
Java
apache-2.0
4,329
package jp.teraparser.transition; import java.util.Arrays; /** * Resizable-array implementation of Deque which works like java.util.ArrayDeque * * jp.teraparser.util * * @author Hiroki Teranishi */ public class Stack implements Cloneable { private static final int MIN_INITIAL_CAPACITY = 8; private int[...
chantera/teraparser
src/jp/teraparser/transition/Stack.java
Java
apache-2.0
3,381
package ppp.menu; import java.awt.image.BufferedImage; public abstract interface Menu { public abstract void up(); public abstract void down(); public abstract void enter(); public abstract void escape(); public abstract BufferedImage getImage(); }
mzijlstra/java-games
ppp/menu/Menu.java
Java
apache-2.0
256
/* * */ package org.utilities; import java.math.BigInteger; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; // TODO: Auto-...
sarathrami/Chain-Replication
src/org/utilities/CUtils.java
Java
apache-2.0
1,735
/* Copyright 2020 Telstra Open Source * * 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...
telstra/open-kilda
src-java/floodlight-service/floodlight-modules/src/main/java/org/openkilda/floodlight/switchmanager/SwitchFlowUtils.java
Java
apache-2.0
9,966
/* Generated by camel build tools - do NOT edit this file! */ package org.apache.camel.component.nats; import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.spi.GeneratedPropertyConfigurer; import org.apache.camel.spi.PropertyConfigurerGetter; import org.apache.camel.util.CaseInsensitive...
alvinkwekel/camel
components/camel-nats/src/generated/java/org/apache/camel/component/nats/NatsComponentConfigurer.java
Java
apache-2.0
3,229
package ruboweb.pushetta.back.model; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.security.SecureRandom; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Table; import org.slf4j.Logger; import org.slf4j.LoggerFacto...
ruboweb/pushetta
src/main/java/ruboweb/pushetta/back/model/User.java
Java
apache-2.0
2,054
// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 // 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: 2016.10....
Gaonaifeng/eLong-OpenAPI-H5-demo
nb_demo_h5/src/main/java/com/elong/nb/model/elong/CommentResult.java
Java
apache-2.0
2,314
// Copyright 2014 The Serviced 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 agreed...
zenoss/zenoss-zapp
java/zenoss-app/src/main/java/org/zenoss/app/annotations/API.java
Java
apache-2.0
773
/* * 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...
googleads/google-ads-java
google-ads-stubs-v9/src/main/java/com/google/ads/googleads/v9/services/OperatingSystemVersionConstantServiceSettings.java
Java
apache-2.0
8,198
/* * Copyright 2016 Atanas Stoychev Kanchev * 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 ...
atanaskanchev/hybrid-test-framework
test-framework-appium/src/test/java/com/atanas/kanchev/testframework/appium/tests/android/browser_tests/ChromeTest.java
Java
apache-2.0
2,204
/* * Copyright 2006-2016 Edward Smith * * 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...
macvelli/RootFramework
src/root/json/JSONBoolean.java
Java
apache-2.0
1,215
package uk.co.listpoint.context; import javax.xml.bind.annotation.XmlEnum; import javax.xml.bind.annotation.XmlEnumValue; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for Context6Type. * * <p>The following schema fragment specifies the expected content contained within this class. * <p> * <pr...
davidcarboni/listpoint-ws
src/main/java/uk/co/listpoint/context/Context6Type.java
Java
apache-2.0
1,238
package com.example.customviewdemo; import android.app.Activity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; public class DragViewActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R...
jianghang/CustomViewDemo
src/com/example/customviewdemo/DragViewActivity.java
Java
apache-2.0
354
package com.gentics.mesh.core.schema.field; import static com.gentics.mesh.assertj.MeshAssertions.assertThat; import static com.gentics.mesh.core.field.FieldSchemaCreator.CREATEBINARY; import static com.gentics.mesh.core.field.FieldSchemaCreator.CREATEBOOLEAN; import static com.gentics.mesh.core.field.FieldSchemaCreat...
gentics/mesh
tests/tests-core/src/main/java/com/gentics/mesh/core/schema/field/HtmlFieldMigrationTest.java
Java
apache-2.0
14,181
/* * 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 ...
eltitopera/TFM
manager/src/src/main/java/redis/common/container/RedisCommandsContainerBuilder.java
Java
apache-2.0
6,212
package fundamental.games.metropolis.connection.bluetooth; import android.bluetooth.BluetoothSocket; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.UUID; import fundamental.games.metropolis.connection.global.MessagesQueue; import fundamental.games.m...
Ragnarokma/metropolis
src/main/java/fundamental/games/metropolis/connection/bluetooth/BluetoothServerConnection.java
Java
apache-2.0
1,850
package bookshop2.client.paymentService; import java.util.List; import org.aries.message.Message; import org.aries.message.MessageInterceptor; import org.aries.util.ExceptionUtil; import bookshop2.Payment; @SuppressWarnings("serial") public class PaymentServiceInterceptor extends MessageInterceptor<PaymentService>...
tfisher1226/ARIES
bookshop2/bookshop2-client/src/main/java/bookshop2/client/paymentService/PaymentServiceInterceptor.java
Java
apache-2.0
3,276
/* * 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-redshift/src/main/java/com/amazonaws/services/redshift/model/DeleteAuthenticationProfileRequest.java
Java
apache-2.0
4,104
// Copyright 2017 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 in w...
crepric/codeu_mirrored_test_1
src/codeu/chat/client/core/Context.java
Java
apache-2.0
1,510
/* * Copyright 2015-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 License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
cyenyxe/eva-pipeline
src/test/java/uk/ac/ebi/eva/runner/JobRestartForceTest.java
Java
apache-2.0
2,993
// // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 generiert // Siehe <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> // Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. // Generiert: 2020.0...
3dcitydb/web-feature-service
src-gen/main/java/net/opengis/ows/_1/ReferenceType.java
Java
apache-2.0
5,813
package io.github.varvelworld.var.ioc.core.annotation.meta.factory; import io.github.varvelworld.var.ioc.core.annotation.Resource; import io.github.varvelworld.var.ioc.core.meta.ParamResourceMeta; import io.github.varvelworld.var.ioc.core.meta.factory.ParamResourceMetaFactory; import java.lang.reflect.Parameter; /**...
varvelworld/var-ioc
src/main/java/io/github/varvelworld/var/ioc/core/annotation/meta/factory/AnnotationParamResourceMetaFactoryImpl.java
Java
apache-2.0
1,193
/** * 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"); yo...
everttigchelaar/camel-svn
components/camel-juel/src/test/java/org/apache/camel/processor/juel/SimulatorTest.java
Java
apache-2.0
3,124
package com.stf.bj.app.game.players; import java.util.Random; import com.stf.bj.app.game.bj.Spot; import com.stf.bj.app.game.server.Event; import com.stf.bj.app.game.server.EventType; import com.stf.bj.app.settings.AppSettings; import com.stf.bj.app.strategy.FullStrategy; public class RealisticBot extends BasicBot {...
Boxxy/Blackjack
core/src/com/stf/bj/app/game/players/RealisticBot.java
Java
apache-2.0
3,337
package me.marcosassuncao.servsim.job; import me.marcosassuncao.servsim.profile.RangeList; import com.google.common.base.MoreObjects; /** * {@link Reservation} represents a resource reservation request * made by a customer to reserve a given number of resources * from a provider. * * @see WorkUnit * @see Def...
assuncaomarcos/servsim
src/main/java/me/marcosassuncao/servsim/job/Reservation.java
Java
apache-2.0
2,646
/* * Copyright (c) 2016, baihw (javakf@163.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...
javakf/rdf
src/main/java/com/yoya/rdf/router/IRequestHandler.java
Java
apache-2.0
1,692
/* * Copyright 2010-2020 Alfresco Software, 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 ...
Activiti/Activiti
activiti-core/activiti-spring/src/test/java/org/activiti/spring/test/servicetask/ServiceTaskSpringDelegationTest.java
Java
apache-2.0
4,086
/** * <copyright> * </copyright> * * $Id$ */ package de.hub.clickwatch.specificmodels.brn.sys_info_systeminfo.impl; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.InternalEObject; import o...
markus1978/clickwatch
analysis/de.hub.clickwatch.specificmodels.brn/src/de/hub/clickwatch/specificmodels/brn/sys_info_systeminfo/impl/Cpu_usageImpl.java
Java
apache-2.0
14,073
/** * * Copyright 2016 David Strawn * * 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 a...
strontian/longleaf-relay
src/main/java/strawn/longleaf/relay/util/RelayConfigLoader.java
Java
apache-2.0
2,074
/** * 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...
terrancesnyder/oozie-hadoop2
core/src/test/java/org/apache/oozie/executor/jpa/TestCoordActionGetForStartJPAExecutor.java
Java
apache-2.0
4,358
package leetcode.reverse_linked_list_ii; import common.ListNode; public class Solution { public ListNode reverseBetween(ListNode head, int m, int n) { if(head == null) return null; ListNode curRight = head; for(int len = 0; len < n - m; len++){ curRight = curRight.next; } ListNode p...
ckclark/leetcode
java/leetcode/reverse_linked_list_ii/Solution.java
Java
apache-2.0
1,378
/* * 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 ...
KidEinstein/giraph
giraph-examples/src/main/java/org/apache/giraph/examples/io/formats/LongLongLongLongVertexInputFormat.java
Java
apache-2.0
4,147
/* * Copyright 2013 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 in writ...
googleapis/google-api-java-client
google-api-client/src/test/java/com/google/api/client/googleapis/testing/json/GoogleJsonResponseExceptionFactoryTestingTest.java
Java
apache-2.0
1,619
//============================================================================ // // Copyright (C) 2006-2022 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receive...
Talend/components
components/components-googledrive/components-googledrive-definition/src/main/java/org/talend/components/google/drive/connection/GoogleDriveConnectionDefinition.java
Java
apache-2.0
1,926
package si.majeric.smarthouse.xstream.dao; public class SmartHouseConfigReadError extends RuntimeException { private static final long serialVersionUID = 1L; public SmartHouseConfigReadError(Exception e) { super(e); } }
umajeric/smart-house
smart-house-xstream-impl/src/main/java/si/majeric/smarthouse/xstream/dao/SmartHouseConfigReadError.java
Java
apache-2.0
228
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use t...
balage1551/jsprit
jsprit-core/src/test/java/com/graphhopper/jsprit/core/algorithm/SearchStrategyTest.java
Java
apache-2.0
8,039
package com.apixandru.rummikub.api; /** * @author Alexandru-Constantin Bledea * @since Sep 16, 2015 */ public enum Rank { ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN, ELEVEN, TWELVE, THIRTEEN; public int asNumber() { return ordinal() + 1; } @Override publi...
apixandru/rummikub-java
rummikub-model/src/main/java/com/apixandru/rummikub/api/Rank.java
Java
apache-2.0
405
/* * Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Danny-Hazelcast/hazelcast-stabilizer
simulator/src/main/java/com/hazelcast/simulator/provisioner/ProvisionerCli.java
Java
apache-2.0
6,122
package com.cognizant.cognizantits.qcconnection.qcupdation; import com4j.DISPID; import com4j.IID; import com4j.VTID; @IID("{B739B750-BFE1-43AF-8DD7-E8E8EFBBED7D}") public abstract interface IDashboardFolderFactory extends IBaseFactoryEx { @DISPID(9) @VTID(17) public abstract IList getChildPagesWithPrivateIte...
CognizantQAHub/Cognizant-Intelligent-Test-Scripter
QcConnection/src/main/java/com/cognizant/cognizantits/qcconnection/qcupdation/IDashboardFolderFactory.java
Java
apache-2.0
482
/* * Copyright (C) 2016 QAware 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 applicabl...
0xhansdampf/chronix.kassiopeia
chronix-kassiopeia-simple/src/main/java/de/qaware/chronix/timeseries/dt/DoubleList.java
Java
apache-2.0
19,873
package de.devisnik.mine.robot.test; import de.devisnik.mine.robot.AutoPlayerTest; import de.devisnik.mine.robot.ConfigurationTest; import junit.framework.Test; import junit.framework.TestSuite; public class AllTests { public static Test suite() { TestSuite suite = new TestSuite("Tests for de.devisnik.mine.robot"...
devisnik/mines
robot/src/test/java/de/devisnik/mine/robot/test/AllTests.java
Java
apache-2.0
470
package com.beanu.l2_shareutil.share; import androidx.annotation.IntDef; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * Created by shaohui on 2016/11/18. */ public class SharePlatform { @IntDef({ DEFAULT, QQ, QZONE, WEIBO, WX, WX_TIMELINE }) @Retention(RetentionP...
beanu/smart-farmer-android
l2_shareutil/src/main/java/com/beanu/l2_shareutil/share/SharePlatform.java
Java
apache-2.0
608
package com.blp.minotaurus.utils; import com.blp.minotaurus.Minotaurus; import net.milkbowl.vault.economy.Economy; import org.bukkit.Bukkit; import org.bukkit.plugin.RegisteredServiceProvider; /** * @author TheJeterLP */ public class EconomyManager { private static Economy econ = null; public static boole...
BossLetsPlays/Minotaurus
src/main/java/com/blp/minotaurus/utils/EconomyManager.java
Java
apache-2.0
756
package eas.com; public interface SomeInterface { String someMethod(String param1, String param2, String param3, String param4); }
xalfonso/res_java
java-reflection-method/src/main/java/eas/com/SomeInterface.java
Java
apache-2.0
137
package com.mobisys.musicplayer.model; import android.os.Parcel; import android.os.Parcelable; /** * Created by Govinda P on 6/3/2016. */ public class MusicFile implements Parcelable { private String title; private String album; private String id; private String singer; private String path; ...
GovindaPaliwal/android-constraint-Layout
app/src/main/java/com/mobisys/musicplayer/model/MusicFile.java
Java
apache-2.0
2,408
/* * 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-cognitoidp/src/main/java/com/amazonaws/services/cognitoidp/model/transform/AnalyticsMetadataTypeJsonUnmarshaller.java
Java
apache-2.0
2,836
package com.doglandia.animatingtextviewlib; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest(...
ThomasKomarnicki/AnimatingTextView
app/src/androidTest/java/com/doglandia/animatingtextviewlib/ApplicationTest.java
Java
apache-2.0
365
/* * 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...
allsoft777/MVP-with-Firebase
mvplife/src/main/java/com/seongil/mvplife/fragment/BaseMvpFragment.java
Java
apache-2.0
4,046
package org.openstack.atlas.service.domain.exception; public class UniqueLbPortViolationException extends PersistenceServiceException { private final String message; public UniqueLbPortViolationException(final String message) { this.message = message; } @Override public String getMessage(...
openstack-atlas/atlas-lb
core-persistence/src/main/java/org/openstack/atlas/service/domain/exception/UniqueLbPortViolationException.java
Java
apache-2.0
356
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University // Copyright (c) 2011, 2012 Open Networking Foundation // Copyright (c) 2012, 2013 Big Switch Networks, Inc. // This library was generated by the LoxiGen Compiler. // See the file LICENSE.txt which should have been included in the sour...
o3project/openflowj-otn
src/main/java/org/projectfloodlight/openflow/protocol/ver13/OFOxmBsnUdf4MaskedVer13.java
Java
apache-2.0
10,443
package com.tamirhassan.pdfxtk.comparators; /** * pdfXtk - PDF Extraction Toolkit * Copyright (c) by the authors/contributors. All rights reserved. * This project includes code from PDFBox and TouchGraph. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provide...
tamirhassan/pdfxtk
src/com/tamirhassan/pdfxtk/comparators/XmidComparator.java
Java
apache-2.0
2,438
/** * Copyright (C) 2015 meltmedia (christian.trimble@meltmedia.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...
meltmedia/dropwizard-etcd
bundle/src/main/java/com/meltmedia/dropwizard/etcd/json/EtcdJsonBundle.java
Java
apache-2.0
3,068
import com.google.common.base.Function; import javax.annotation.Nullable; /** * Created by ckale on 10/29/14. */ public class DateValueSortFunction implements Function<PojoDTO, Long>{ @Nullable @Override public Long apply(@Nullable final PojoDTO input) { return input.getDateTime().getMillis();...
chax0r/PlayGround
playGround/src/main/java/DateValueSortFunction.java
Java
apache-2.0
329
package ru.stqa.javacourse.mantis.tests; import org.testng.annotations.Test; import ru.stqa.javacourse.mantis.model.Issue; import ru.stqa.javacourse.mantis.model.Project; import javax.xml.rpc.ServiceException; import java.net.MalformedURLException; import java.rmi.RemoteException; import java.util.Set; import stati...
Olbar/courseJava
mantis-tests/src/test/java/ru/stqa/javacourse/mantis/tests/SoapTest.java
Java
apache-2.0
1,172
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v10/services/customer_conversion_goal_service.proto package com.google.ads.googleads.v10.services; /** * <pre> * A single operation (update) on a customer conversion goal. * </pre> * * Protobuf type {@code google.ads.goog...
googleads/google-ads-java
google-ads-stubs-v10/src/main/java/com/google/ads/googleads/v10/services/CustomerConversionGoalOperation.java
Java
apache-2.0
36,172
package org.openjava.upay.web.domain; import java.util.List; public class TablePage<T> { private long start; private int length; private long recordsTotal; private long recordsFiltered; private List<T> data; public TablePage() { } public long getStart() { return star...
openjava2017/openjava-upay
upay-server/src/main/java/org/openjava/upay/web/domain/TablePage.java
Java
apache-2.0
1,263
package com.jy.controller.workflow.online.apply; import com.jy.common.ajax.AjaxRes; import com.jy.common.utils.DateUtils; import com.jy.common.utils.base.Const; import com.jy.common.utils.security.AccountShiroUtil; import com.jy.controller.base.BaseController; import com.jy.entity.attendance.WorkRecord; import com.jy....
futureskywei/whale
src/main/java/com/jy/controller/workflow/online/apply/PatchController.java
Java
apache-2.0
5,402
/* * Copyright 2010-2011 Ning, Inc. * * Ning 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 required by a...
pierre/eventtracker
scribe/src/test/java/com/ning/metrics/eventtracker/TestIntegration.java
Java
apache-2.0
4,231
package com.nosolojava.fsm.impl.runtime.executable.basic; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import com.nosolojava.fsm.runtime.Context; import com.nosolojava.fsm.runtime.executable.Elif; import com.nosolojava.fsm.runtime.executable.Else; import com.nosolojava.fsm.ru...
nosolojava/scxml-java
scxml-java-implementation/src/main/java/com/nosolojava/fsm/impl/runtime/executable/basic/BasicIf.java
Java
apache-2.0
2,082
/** * Copyright 2015 Santhosh Kumar Tekuri * * The JLibs authors license 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 * * Unl...
santhosh-tekuri/jlibs
wamp4j-core/src/main/java/jlibs/wamp4j/spi/Listener.java
Java
apache-2.0
1,010
package me.littlepanda.dadbear.core.queue; import java.util.Queue; /** * @author 张静波 myplaylife@icloud.com * */ public interface DistributedQueue<T> extends Queue<T> { /** * <p>如果使用无参构造函数,需要先调用这个方法,队列才能使用</p> * @param queue_name * @param clazz */ abstract public void init(String queue_name,...
myplaylife/dadbear
framework/core/src/main/java/me/littlepanda/dadbear/core/queue/DistributedQueue.java
Java
apache-2.0
402
/* * 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 ma...
morozumi-h/oauth2-server
src/test/java/jp/eisbahn/oauth2/server/spi/servlet/HttpServletRequestAdapterTest.java
Java
apache-2.0
1,972
/* * Copyright 2013 Gunnar Kappei. * * 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...
moosbusch/xbLIDO
src/net/opengis/gml/MultiSurfaceType.java
Java
apache-2.0
10,068
/* * 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-redshift/src/main/java/com/amazonaws/services/redshift/model/transform/AuthenticationProfileNotFoundExceptionUnmarshaller.java
Java
apache-2.0
1,678
package ru.job4j.pro.collections.list; import org.junit.Test; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; /** * NodeListTest class. * * @author Vladimir Ivanov * @version 0.1 * @since 30.08.2017 */ public class NodeListTest { /** * Test list is not cycled. */...
dimir2/vivanov
part2/ch1/src/test/java/ru/job4j/pro/collections/list/NodeListTest.java
Java
apache-2.0
2,090
package com.intel.media.mts.dao.impl; import org.junit.Assert; import org.junit.Test; import com.intel.media.mts.dao.DaoTestSupport; import com.intel.media.mts.model.Software; public class SoftwareDaoImplTest extends DaoTestSupport { @Test public void test(){ Software s = new Software(); String name = "Ubuntu...
zhubinqiang/myTMS
src/test/java/com/intel/media/mts/dao/impl/SoftwareDaoImplTest.java
Java
apache-2.0
598
package com.thinkgem.jeesite.modules.purifier.dao; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import com.thinkgem.jeesite.modules.purifier.entity.Ware; /** * 仓库管理dao * * @author addison * @since 2017年03月02日 */ @MyBatisDao public i...
cuiqunhao/jeesite
src/main/java/com/thinkgem/jeesite/modules/purifier/dao/WareDao.java
Java
apache-2.0
411
/* * @(#)TIFFHeader.java * * $Date: 2014-03-13 04:15:48 -0400 (Thu, 13 Mar 2014) $ * * Copyright (c) 2011 by Jeremy Wood. * All rights reserved. * * The copyright of this software is owned by Jeremy Wood. * You may not use, copy or modify this software, except in * accordance with the license agreement you...
MKLab-ITI/image-forensics
java_service/src/main/java/gr/iti/mklab/reveal/forensics/util/ThumbnailExtractor/image/jpeg/TIFFHeader.java
Java
apache-2.0
3,339
/** * */ /** * @author root * */ package com.amanaje.activities;
damico/amanaje
source-code/Amanaje/src/com/amanaje/activities/package-info.java
Java
apache-2.0
70
package eu.ailao.hub.dialog; import eu.ailao.hub.corefresol.answers.ClueMemorizer; import eu.ailao.hub.corefresol.concepts.ConceptMemorizer; import eu.ailao.hub.questions.Question; import java.util.ArrayList; /** * Created by Petr Marek on 24.02.2016. * Dialog class represents dialog. It contains id of dialog and ...
brmson/hub
src/main/java/eu/ailao/hub/dialog/Dialog.java
Java
apache-2.0
1,699
// Copyright 2016 Yahoo Inc. // Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms. package com.yahoo.bard.webservice.data.metric; /** * LogicalMetricColumn. */ public class LogicalMetricColumn extends MetricColumn { private final LogicalMetric metric...
yahoo/fili
fili-core/src/main/java/com/yahoo/bard/webservice/data/metric/LogicalMetricColumn.java
Java
apache-2.0
1,271
package coop.ekologia.presentation.controller.user; import java.io.IOException; import javax.inject.Inject; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRespo...
imie-source/Ekologia
EkologiaGUI/src/coop/ekologia/presentation/controller/user/LoginDeconnectionServlet.java
Java
apache-2.0
1,605
/* * Copyright 2010-2020 Alfresco Software, 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 ...
Activiti/Activiti
activiti-core/activiti-engine/src/main/java/org/activiti/engine/impl/cmd/CreateAttachmentCmd.java
Java
apache-2.0
5,884
package org.seasar.doma.internal.jdbc.dialect; import org.seasar.doma.internal.jdbc.sql.SimpleSqlNodeVisitor; import org.seasar.doma.internal.jdbc.sql.node.AnonymousNode; import org.seasar.doma.jdbc.SqlNode; public class StandardCountCalculatingTransformer extends SimpleSqlNodeVisitor<SqlNode, Void> { protected bo...
domaframework/doma
doma-core/src/main/java/org/seasar/doma/internal/jdbc/dialect/StandardCountCalculatingTransformer.java
Java
apache-2.0
656
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
irudyak/ignite
modules/core/src/test/java/org/apache/ignite/internal/processors/cache/persistence/LocalWalModeChangeDuringRebalancingSelfTest.java
Java
apache-2.0
21,207
package marcin_szyszka.mobileseconndhand.models; /** * Created by marcianno on 2016-03-02. */ public class RegisterUserModel { public String Email; public String Password; public String ConfirmPassword; public RegisterUserModel(){ } }
MarcinSzyszka/MobileSecondHand
AndroidStudio_Android/MobileSeconndHand/app/src/main/java/marcin_szyszka/mobileseconndhand/models/RegisterUserModel.java
Java
apache-2.0
260
package org.annoconf; /** * Created by roma on 3/19/17. */ public interface PropertyValueSource { boolean hasValue(String key); String getValue(String key); }
Roma7-7-7/annoconf
src/main/java/org/annoconf/PropertyValueSource.java
Java
apache-2.0
173