code
stringlengths
3
1.04M
repo_name
stringlengths
5
109
path
stringlengths
6
306
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
3
1.04M
package com.walmart.labs.pcs.normalize.MongoDB.SpringBoot.service; import com.walmart.labs.pcs.normalize.MongoDB.SpringBoot.entity.Person; import com.walmart.labs.pcs.normalize.MongoDB.SpringBoot.repository.PersonRepository; import com.walmart.labs.pcs.normalize.MongoDB.SpringBoot.repository.PersonRepositoryImp; impor...
ArthurZhong/SparkStormKafkaTest
src/main/java/com/walmart/labs/pcs/normalize/MongoDB/SpringBoot/service/PersonService.java
Java
apache-2.0
925
package edu.wsu.weather.agweathernet.helpers; import java.io.Serializable; public class StationModel implements Serializable { private static final long serialVersionUID = 1L; private String unitId; private String name; private String county; private String city; private String state; private String installati...
levanlevi/AgWeatherNet
src/edu/wsu/weather/agweathernet/helpers/StationModel.java
Java
apache-2.0
2,366
package ca.uhn.fhir.jpa.term; /* * #%L * HAPI FHIR JPA Server * %% * Copyright (C) 2014 - 2016 University Health Network * %% * 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 * * ...
Gaduo/hapi-fhir
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/VersionIndependentConcept.java
Java
apache-2.0
1,149
/** * Copyright 2015-2017 The OpenZipkin Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
soundcloud/zipkin
benchmarks/src/main/java/zipkin/benchmarks/Span2ConverterBenchmarks.java
Java
apache-2.0
5,211
/* * Copyright 2015 Adobe Systems Incorporated * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
MyAccInt/aem-project-archetype
src/main/archetype/core/src/main/java/core/servlets/SimpleServlet.java
Java
apache-2.0
2,367
package com.comp.ninti.sportsmanager; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.view.MenuItem; import android.widget.ListView; import com.comp.ninti.adapter.LeaderBoardAd...
Nintinugga/SportsManager
app/src/main/java/com/comp/ninti/sportsmanager/LeaderBoard.java
Java
apache-2.0
2,193
/** * www.bplow.com */ package com.bplow.netconn.systemmng.domain; /** * @desc 角色 * @author wangxiaolei * @date 2016年5月8日 下午4:30:39 */ public class RoleDomain { private String roleId; private String userId; private String roleName; private String roleDesc; public String getRoleId() {...
ahwxl/ads
ads/src/main/java/com/bplow/netconn/systemmng/domain/RoleDomain.java
Java
apache-2.0
824
package it.breex.bus.impl.jms; import it.breex.bus.event.AbstractResponseEvent; import it.breex.bus.event.EventData; import it.breex.bus.event.EventHandler; import it.breex.bus.event.RequestEvent; import it.breex.bus.impl.AbstractEventManager; import java.util.UUID; import javax.jms.Connection; import javax.jms.Conn...
breex-it/breex-bus
breex-bus-jms/src/main/java/it/breex/bus/impl/jms/JmsEventManager.java
Java
apache-2.0
4,233
/** * Copyright 2013 Oak Ridge National Laboratory * Author: James Horey <horeyjl@ornl.gov> * * 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/LI...
jhorey/Paja
src/gov/ornl/paja/storage/LogMessage.java
Java
apache-2.0
1,764
/* * 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 ...
mduerig/json-jerk
src/main/java/michid/jsonjerk/LevelOrderJsonParser.java
Java
apache-2.0
6,473
/** * For JavaDocs. *@author dgagarsky *@since 01.12.2016 */ package ru.job4j;
degauhta/dgagarsky
chapter_001/src/test/java/ru/job4j/package-info.java
Java
apache-2.0
81
/* * Copyright 2005-2007 Maarten Billemont * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
Lyndir/Opal
discontinued/opal-geo/src/main/java/com/lyndir/lhunath/opal/gui/ListenerAction.java
Java
apache-2.0
2,900
/* * Copyright 2008-2011 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...
sdw2330976/Research-spring-data-jpa
spring-data-jpa-1.7.1.RELEASE/src/test/java/org/springframework/data/jpa/repository/config/TypeFilterConfigTests.java
Java
apache-2.0
1,407
package org.drools.rule; /* * Copyright 2005 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 ...
bobmcwhirter/drools
drools-core/src/main/java/org/drools/rule/InvalidRulePackage.java
Java
apache-2.0
1,064
package com.twu.biblioteca.service.impl; import com.twu.biblioteca.mapper.BookListMapper; import com.twu.biblioteca.mapper.MyBatisUtil; import com.twu.biblioteca.model.Book; import com.twu.biblioteca.service.BookListService; import org.apache.ibatis.session.SqlSession; import java.util.ArrayList; public class BookLi...
niuwanlu/twu-biblioteca-niuwanlu-tdd
src/main/java/com/twu/biblioteca/service/impl/BookListServiceImpl.java
Java
apache-2.0
863
/* * Copyright 2015 Thomas Hoffmann * * 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...
j4velin/WiFi-Automatic
src/play/java/de/j4velin/wifiAutoOff/GeoFenceService.java
Java
apache-2.0
3,340
/* * Copyright 2015-2020 OpenCB * * 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 ...
opencb/opencga
opencga-analysis/src/test/java/org/opencb/opencga/analysis/individual/qc/IndividualQcUtilsTest.java
Java
apache-2.0
6,198
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.siyeh.ig.redundancy; import com.google.common.collect.ImmutableSet; import com.intellij.codeInspection.ex.InspectionElementsMergerBase; import com.intellij.util.Array...
leafclick/intellij-community
plugins/InspectionGadgets/src/com/siyeh/ig/redundancy/RedundantStringOperationMerger.java
Java
apache-2.0
2,723
package com.app.annotation.aspect; /** * Created by baixiaokang on 17/1/31. */ import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) public @int...
AndroidAdu/material-News
lib/src/main/java/com/app/annotation/aspect/Permission.java
Java
apache-2.0
363
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.module.impl; import com.intellij.configurationStore.RenameableStateStorageManager; import com.intellij.ide.highlighter.ModuleFileTy...
jwren/intellij-community
platform/lang-impl/src/com/intellij/openapi/module/impl/ModuleImpl.java
Java
apache-2.0
12,736
/* * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.mirror.declaration; import java.lang.annotation.Annotation; import java.util.Collection; i...
haikuowuya/android_system_code
src/com/sun/mirror/declaration/Declaration.java
Java
apache-2.0
5,514
package com.xsolla.android.sdk.data.model; import java.util.List; public class XHoldSubscriptionStatus { private String status; private List<XMessage> errors; private XApi api; public String getStatus() { return status; } public List<XMessage> getErrors() { return errors; ...
xsolla/xsolla-sdk-android
xsollasdk/src/main/java/com/xsolla/android/sdk/data/model/XHoldSubscriptionStatus.java
Java
apache-2.0
827
package br.eti.arthurgregorio.fulljeearch.domain.security; /** * * @author Arthur */ public interface ApplicationRoles { public final String USER = "Usuario"; public final String ADMINISTRATOR = "Administrador"; }
arthurgregorio/exemplos
FullJeeArch/src/main/java/br/eti/arthurgregorio/fulljeearch/domain/security/ApplicationRoles.java
Java
apache-2.0
228
package com.almende.dialog.example.agent; import java.io.Serializable; import java.net.URLDecoder; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.logging.Logger; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import ja...
almende/dialog
dialoghandler/src/main/java/com/almende/dialog/example/agent/YesNoAgent.java
Java
apache-2.0
7,159
package com.suscipio_solutions.consecro_mud.Commands; import java.util.Vector; import com.suscipio_solutions.consecro_mud.MOBS.interfaces.MOB; import com.suscipio_solutions.consecro_mud.core.CMParms; @SuppressWarnings("rawtypes") public class NoFollow extends Follow { public NoFollow(){} private final String[] ac...
ConsecroMUD/ConsecroMUD
com/suscipio_solutions/consecro_mud/Commands/NoFollow.java
Java
apache-2.0
1,837
/** Copyright 2008 University of Rochester 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...
nate-rcl/irplus
ir_core/src/edu/ur/ir/researcher/ResearcherLink.java
Java
apache-2.0
5,358
package org.dbflute.erflute.db.impl.mysql; import java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import org.dbflute.erflute.editor.model.dbimport.DBObject; import org.dbflute.erflute.editor.model.dbimport.PreImportFromDBManager; public class MySQLPreTableImportMa...
dbflute-session/erflute
src/org/dbflute/erflute/db/impl/mysql/MySQLPreTableImportManager.java
Java
apache-2.0
2,037
package org.gradle.test.performance.mediummonolithicjavaproject.p36; import org.junit.Test; import static org.junit.Assert.*; public class Test730 { Production730 objectUnderTest = new Production730(); @Test public void testProperty0() { String value = "value"; objectUnderTest.setP...
oehme/analysing-gradle-performance
my-lib/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p36/Test730.java
Java
apache-2.0
2,107
/** * Copyright 2016 Yahoo 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 ...
tatyano/athenz
libs/java/server_common/src/main/java/com/yahoo/athenz/common/metrics/impl/NoOpMetric.java
Java
apache-2.0
1,436
package ru.job4j.polymorphism; /** * Created on 01.09.2017. * * @author Aleks Sidorenko (alek.sidorenko1979@gmail.com). * @version $Id$. * @since 0.1. */ public class StubInput implements Input { /** * @param answers - array's param. */ private String[] answers; /** * @param position...
AlSidorenko/Junior
chapter_002/src/main/java/ru/job4j/polymorphism/StubInput.java
Java
apache-2.0
747
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
emag/codereading-undertow
core/src/main/java/io/undertow/attribute/ThreadNameAttribute.java
Java
apache-2.0
1,955
package org.techniche.technothlon.katana.tcd; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.os.AsyncTask; import android.os.L...
znck/technothlon-android-app
katana/src/main/java/org/techniche/technothlon/katana/tcd/TCDContent.java
Java
apache-2.0
13,524
/** * 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-spring/src/test/java/org/apache/camel/spring/scan/DefaultPackageScanClassResolverTest.java
Java
apache-2.0
8,636
/* * Copyright 2016-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
opennetworkinglab/onos
protocols/snmp/ctl/src/test/java/org/onosproject/snmp/ctl/DefaultSnmpControllerTest.java
Java
apache-2.0
4,414
package com.zaaach.citypicker.db; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.os.Environment; import com.zaaach.citypicker.model.City; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.Inp...
weiwenqiang/GitHub
SelectWidget/city/CityPicker/citypicker/src/main/java/com/zaaach/citypicker/db/DBManager.java
Java
apache-2.0
3,876
package com.huawei.esdk.sms.north.http.common; import java.io.ByteArrayInputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import o...
eSDK/esdk_sms
source/esdk_sms_neadp_http/src/main/java/com/huawei/esdk/sms/north/http/common/AbstractXMLProcessor.java
Java
apache-2.0
4,493
package com.example; /** * Created by Nish on 2/21/15. */ public interface Movable { public void moveLeft(); public void moveRight(); }
nishtahir/Mektory-BeginnersAndroid
Week2/mygame/src/main/java/com/example/Movable.java
Java
apache-2.0
147
package ch.unibe.scg.regex; import static java.util.Collections.singleton; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.SortedSet; import java.util.TreeSet; import ch.unibe.scg.regex.ParserProvider.Node; import ch.unibe.scg.regex.ParserProvider.Node.Basic; import c...
nes1983/tree-regex
src/ch/unibe/scg/regex/RegexToNFA.java
Java
apache-2.0
10,402
/* * Copyright (c) 2015 TextGlass * * 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...
TextGlass/reference
client/src/TransformerIsNumber.java
Java
apache-2.0
972
/* * Copyright (c) 2017 Martin Pfeffer * * 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...
pepperonas/MaterialDialog
library/src/main/java/com/pepperonas/materialdialog/adapter/ShareAdapter.java
Java
apache-2.0
3,990
package com.siqisoft.stone.admin.dict.controller; import java.util.List; import org.siqisource.stone.dict.model.Dict; import org.siqisource.stone.dict.service.DictService; import org.siqisource.stone.orm.condition.Condition; import org.siqisource.stone.ui.AjaxResponse; import org.siqisource.stone.ui.Notify; ...
ylyxf/stone-sdk
src/main/java/com/siqisoft/stone/admin/dict/controller/DictController.java
Java
apache-2.0
2,471
/* * 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
modules/base/lang-api/src/main/java/com/intellij/refactoring/listeners/RefactoringElementListenerProvider.java
Java
apache-2.0
1,347
/* * Copyright 2016 Shredder121. * * 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...
johnktims/gh-event-api
src/main/java/com/github/shredder121/gh_event_api/handler/pull_request/PullRequestHandler.java
Java
apache-2.0
873
package com.nguyenmanhtuan.benhandientu; import android.app.Activity; import android.content.Intent; import android.content.res.Configuration; import android.content.res.Resources; import android.os.Bundle; import android.util.DisplayMetrics; import android.view.View; import android.widget.Button; import android.widge...
techmaster-prj/BenhAnDienTu
BenhAnDienTu/src/com/nguyenmanhtuan/benhandientu/RegisteredActivity.java
Java
apache-2.0
2,788
package com.vertabelo.mobileorm.myplaces.orm.gen; public class AddressViewDAOImpl extends com.vertabelo.mobileorm.myplaces.orm.runtime.dao.BaseDAO<AddressView> implements AddressViewDAO { public AddressViewDAOImpl(com.vertabelo.mobileorm.myplaces.orm.runtime.util.SQLiteDataSource dataSource) { ...
Vertabelo/mobiorm-demo-android
app/src/main/java/com/vertabelo/mobileorm/myplaces/orm/gen/AddressViewDAOImpl.java
Java
apache-2.0
6,557
/* * 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 ...
zhangminglei/flink
flink-libraries/flink-cep/src/test/java/org/apache/flink/cep/operator/CEPMigrationTest.java
Java
apache-2.0
24,021
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInsight.generation; import com.intellij.codeInsight.AnnotationUtil; import com.intellij.codeInsight.intention.AddAnnotationPsiFix; import com.intellij.op...
paplorinc/intellij-community
java/java-impl/src/com/intellij/codeInsight/generation/OverrideImplementsAnnotationsHandler.java
Java
apache-2.0
3,542
package com.chisw.work.addressbook.test; import com.chisw.work.addressbook.Data.GroupData; import com.chisw.work.addressbook.Data.Groups; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.MatcherAssert.assertThat;...
Tarrest/java_home
addressbook/src/test/java/com/chisw/work/addressbook/test/TestGroupModification.java
Java
apache-2.0
1,230
package io.omengye.common.utils.constants; public class Constants { private Constants(){} public static final String RESULT_FLAG = "flag"; }
omengye/ws
common/src/main/java/io/omengye/common/utils/constants/Constants.java
Java
apache-2.0
153
/* * Created on Mar 29, 2009 * * 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...
alexruiz/fest-assert-2.x
src/test/java/org/fest/assertions/api/LongAssert_isNull_Test.java
Java
apache-2.0
1,440
/******************************************************************************* * Copyright 2006 - 2012 Vienna University of Technology, * Department of Software Technology and Interactive Systems, IFS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except i...
openpreserve/plato
plato-model/src/main/java/eu/scape_project/planning/model/transform/Transformer.java
Java
apache-2.0
4,334
/* * Copyright 2016 SimplifyOps, Inc. (http://simplifyops.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 ...
jgpacker/rundeck
core/src/test/java/com/dtolabs/rundeck/core/execution/workflow/TestStepFirstWorkflowStrategy.java
Java
apache-2.0
100,809
// Copyright (C) 2013 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 applicable ...
GerritCodeReview/plugins_hooks-rtc
src/main/java/com/googlesource/gerrit/plugins/hooks/rtc/network/HttpPatch.java
Java
apache-2.0
999
/* * 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 ...
mtunique/flink
flink-tests/src/test/java/org/apache/flink/test/runtime/NetworkStackThroughputITCase.java
Java
apache-2.0
10,771
/* * ************************************************************************* * Copyright (C) FRS Belgium NV ("FRSGlobal"). All rights reserved. * * This computer program is protected by copyright law and international * treaties. Unauthorized reproduction or distribution of this program, * or any portion of it,...
abotos/ClujLiveTransit
Java/appengine-code/appengine-web-ui/src/java/org/cluj/bus/servlet/BusScheduleServlet.java
Java
apache-2.0
3,589
/** * 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...
logzio/camel
components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyComponent.java
Java
apache-2.0
5,124
/* * 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...
IAMTJW/Tomcat-8.5.20
tomcat-8.5.20/java/org/apache/catalina/valves/rewrite/Resolver.java
Java
apache-2.0
1,568
/* * 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 ...
fogbeam/Heceta_droids
droids-core/src/main/java/org/apache/droids/impl/SequentialTaskMaster.java
Java
apache-2.0
4,864
package com.wjyup.coolq.util; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.google.common.hash.HashCode; import com.google.common.hash.HashFunction; import com.google.common.hash.Hashing; import com.google.gson.JsonObject; import org.apache.logging.log4j.LogManager; import org.ap...
ForeverWJY/CoolQ_Java_Plugin
src/main/java/com/wjyup/coolq/util/SendMessageUtil.java
Java
apache-2.0
1,815
/** * Copyright (c) 2008-2010 Andrey Somov * * 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...
spariev/snakeyaml
src/main/java/org/yaml/snakeyaml/tokens/DirectiveToken.java
Java
apache-2.0
1,789
/* Copyright 2018 Nationale-Nederlanden 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...
ibissource/iaf
core/src/test/java/nl/nn/adapterframework/http/cxf/SoapProviderTest.java
Java
apache-2.0
16,059
package mx.emite.sdk.scot.request; import java.util.List; import javax.validation.Valid; import javax.validation.constraints.NotNull; import org.hibernate.validator.constraints.NotEmpty; import lombok.Builder; import lombok.Data; import lombok.Singular; import mx.emite.sdk.cfdi32.anotaciones.Rfc; import mx.emite.sd...
emite-mx/ef-sdk-java
ef-sdk-java/src/main/java/mx/emite/sdk/scot/request/SucursalesAltaRequest.java
Java
apache-2.0
1,030
/* * Copyright 2016-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...
vschs007/buck
src/com/facebook/buck/rust/RustTestDescription.java
Java
apache-2.0
6,463
package org.efix.util.buffer; import org.efix.util.ByteSequenceWrapper; import org.efix.util.StringUtil; public class BufferUtil { public static UnsafeBuffer fromString(String string) { return new UnsafeBuffer(StringUtil.asciiBytes(string)); } public static String toString(Buffer buffer) { ...
artyomkorzun/efix
src/main/java/org/efix/util/buffer/BufferUtil.java
Java
apache-2.0
536
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
apache/incubator-shardingsphere
examples/shardingsphere-sample/shardingsphere-example-generated/shardingsphere-jdbc-sample/shardingsphere-jdbc-memory-local-db-discovery-spring-namespace-jdbc-example/src/main/java/org/apache/shardingsphere/example/db/discovery/spring/namespace/jdbc/repository/AddressRepository.java
Java
apache-2.0
4,185
/* * Copyright (c) 2017 Antony Esik * * 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...
EsikAntony/camunda-task-dispatcher
camunda-task-dispatcher-mapper-xml/src/main/java/com/ae/camunda/dispatcher/mapper/xml/XmlTaskMapper.java
Java
apache-2.0
1,991
package org.whale.ext.domain; import java.util.ArrayList; import java.util.List; import org.whale.system.annotation.jdbc.Column; import org.whale.system.annotation.jdbc.Id; import org.whale.system.annotation.jdbc.Table; import org.whale.system.annotation.jdbc.Validate; import org.whale.system.base.BaseEntry; import o...
fywxin/base
system-parent/ext-code/src/main/java/org/whale/ext/domain/Domain.java
Java
apache-2.0
3,741
/* ========================================================================= * * Boarder * * http://boarder.mikuz.org/ * * ========================================================================= * ...
Mikuz/Boarder
src/fi/mikuz/boarder/util/ContextUtils.java
Java
apache-2.0
2,556
/* * Copyright 2017 StreamSets 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...
kunickiaj/datacollector
sdc-kafka_0_8/src/main/java/com/streamsets/pipeline/kafka/impl/KafkaProducer08.java
Java
apache-2.0
6,836
/* * 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-docdb/src/main/java/com/amazonaws/services/docdb/model/transform/EventStaxUnmarshaller.java
Java
apache-2.0
3,623
package com.gentics.mesh.changelog.changes; import static com.gentics.mesh.core.data.relationship.GraphRelationships.SCHEMA_CONTAINER_VERSION_KEY_PROPERTY; import com.gentics.mesh.changelog.AbstractChange; import com.tinkerpop.blueprints.Direction; /** * Changelog entry which removed the schema version edges with p...
gentics/mesh
changelog-system/src/main/java/com/gentics/mesh/changelog/changes/ReplaceSchemaVersionEdges.java
Java
apache-2.0
877
package sl.hr_client; 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() { super(Appl...
862573026/SchoolHRProj
Android/HRAM_SNU_App/hr-client/src/androidTest/java/sl/hr_client/ApplicationTest.java
Java
apache-2.0
343
package cc.mallet.util; /** * Static utility methods for Strings */ final public class Strings { public static int commonPrefixIndex (String[] strings) { int prefixLen = strings[0].length(); for (int i = 1; i < strings.length; i++) { if (strings[i].length() < prefixLen) prefixLen = strin...
UnsupervisedOntologyLearning/hrLDA
hrLDA/src/cc/mallet/util/Strings.java
Java
apache-2.0
1,930
package org.museautomation.core.step; import org.jetbrains.annotations.*; import org.museautomation.core.*; import org.museautomation.core.context.*; import org.museautomation.core.step.descriptor.*; import org.museautomation.core.steptask.*; import org.museautomation.core.values.*; import org.museautomation.core.valu...
ChrisLMerrill/muse
core/src/main/java/org/museautomation/core/step/CallMacroStep.java
Java
apache-2.0
3,625
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.diff.impl.patch.formove; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.diff.impl.patch.FilePatch; import co...
goodwinnk/intellij-community
platform/vcs-impl/src/com/intellij/openapi/diff/impl/patch/formove/PathsVerifier.java
Java
apache-2.0
23,092
package com.therabbitmage.android.beacon.network; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.URISyntaxException; import org.apache.http.Header; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.HttpStatus; i...
GregSaintJean/Beacon
src/com/therabbitmage/android/beacon/network/URLShortenerAPI.java
Java
apache-2.0
2,158
/** * Copyright (c) 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 appli...
jmnarloch/spring-jax-rs-client-proxy
src/test/java/com/github/jmnarloch/spring/jaxrs/client/support/JaxRsClientProxyFactorySupportTest.java
Java
apache-2.0
2,921
/* Copyright (c) 2012 Marco Amadei. 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 writin...
lmu-bioinformatics/ucanaccess
src/test/java/net/ucanaccess/test/PasswordTest.java
Java
apache-2.0
1,516
/* * Copyright 2017-2019 University of Hildesheim, Software Systems Engineering * * 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 * ...
KernelHaven/KernelHaven
src/net/ssehub/kernel_haven/code_model/CodeModelProvider.java
Java
apache-2.0
3,998
/* * Copyright 2005-2008 The Kuali Foundation * * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless require...
sbower/kuali-rice-1
it/kew/src/test/java/org/kuali/rice/edl/impl/TestConfigProcessor.java
Java
apache-2.0
734
package org.apache.hadoop.hive.kafka.camus; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.MapWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.io.UTF8; import org.apache.hadoop.io.Writable; import org.apache.hadoop.io.WritableComparable; import java.io.DataInput; import java...
HiveKa/HiveKa
src/main/java/org/apache/hadoop/hive/kafka/camus/KafkaKey.java
Java
apache-2.0
6,733
/* * Copyright 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
BladeRunnerJS/brjs-JsTestDriver
JsTestDriver/src/com/google/jstestdriver/output/FileNameFormatter.java
Java
apache-2.0
1,271
/** * Copyright 2014 Google Inc. * Copyright 2014 Andreas Schildbach * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
troggy/bitcoinj
core/src/main/java/com/google/bitcoin/wallet/DeterministicSeed.java
Java
apache-2.0
9,791
/* * 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/test/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableMaterializeTest.java
Java
apache-2.0
10,356
package net.unicon.cas.addons.serviceregistry; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanFactoryPostProcessor; import org.springframework.beans.factory.config.ConfigurableListableBeanFactory; import org....
Unicon/cas-addons
src/main/java/net/unicon/cas/addons/serviceregistry/RegisteredServicesReloadDisablingBeanFactoryPostProcessor.java
Java
apache-2.0
2,060
/* Copyright 2008, 2009, 2010 by the Oxford University Computing Laboratory This file is part of HermiT. HermiT 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...
CPoirot3/OWL-Reasoner
project/src/org/semanticweb/HermiT/datatypes/owlreal/NumberRange.java
Java
apache-2.0
1,986
/* * 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-lookoutequipment/src/main/java/com/amazonaws/services/lookoutequipment/model/transform/CreateDatasetResultJsonUnmarshaller.java
Java
apache-2.0
3,307
package com.designpattern.structural.facade; public class Facade { SystemOne system1 = new SystemOne(); SystemTwo system2 = new SystemTwo(); SystemThree system3 = new SystemThree(); SystemFour system4 = new SystemFour(); public void facadeFunction1() { System.out.println("---- facade function 1"); ...
tyybjcc/Design-Patterns-in-java
DesignPatterns/src/com/designpattern/structural/facade/Facade.java
Java
apache-2.0
649
/* * Copyright 2019 Stephane Nicolas * Copyright 2019 Daniel Molinero Reguera * * 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 * ...
stephanenicolas/toothpick
toothpick-runtime/src/test/java/toothpick/getInstance/CycleCheckTest.java
Java
apache-2.0
3,214
/* * 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 ...
adrian-wang/project-panthera-skin
src/main/java/com/intel/ssg/dcst/panthera/parse/sql/transformer/fb/AndFilterBlock.java
Java
apache-2.0
8,205
package io.swagger.client.api; import com.sun.jersey.api.client.GenericType; import io.swagger.client.ApiException; import io.swagger.client.ApiClient; import io.swagger.client.Configuration; import io.swagger.client.Pair; import io.swagger.client.model.CodeSnippet; import io.swagger.client.model.CodeSnippetList; i...
jsodini/CodeSnip
sdk/java/src/main/java/io/swagger/client/api/DefaultApi.java
Java
apache-2.0
8,599
/** * CommonFramework * * Copyright (C) 2017 Black Duck Software, Inc. * http://www.blackducksoftware.com/ * * 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 o...
blackducksoftware/common-framework
src/test/java/com/blackducksoftware/tools/commonframework/standard/protex/report/template/TestPojoPageTwo.java
Java
apache-2.0
2,010
package org.test; import org.test.act.MainGame; import loon.LSetting; import loon.LSystem; import loon.LazyLoading; import loon.Screen; import loon.javase.Loon; public class JavaSEMain { public static void main(String[]args){ LSetting setting = new LSetting(); setting.isFPS = true; setting.isLogo = false; ...
cping/LGame
Java/Examples/cannonblast(0.5)/src/org/test/JavaSEMain.java
Java
apache-2.0
744
package apple.uikit; import java.io.*; import java.nio.*; import java.util.*; import com.google.j2objc.annotations.*; import com.google.j2objc.runtime.*; import com.google.j2objc.runtime.block.*; import apple.audiotoolbox.*; import apple.corefoundation.*; import apple.coregraphics.*; import apple.coreservices.*; impo...
Sellegit/j2objc
runtime/src/main/java/apple/uikit/UIMenuControllerArrowDirection.java
Java
apache-2.0
1,076
package com.swifts.frame.modules.wx.fastweixin.company.message.req; /** * 微信企业号异步任务类型 * ==================================================================== * * -------------------------------------------------------------------- * @author Nottyjay * @version 1.0.beta * @since 1.3.6 * ===================...
hanyahui88/swifts
src/main/java/com/swifts/frame/modules/wx/fastweixin/company/message/req/QYBatchJobType.java
Java
apache-2.0
754
/** * 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...
anjuncc/hadoop
hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/erasurecode/coder/TestErasureCoderBase.java
Java
apache-2.0
9,576
/* * Copyright (c) 2010-2017 Evolveum * * 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...
Pardus-Engerek/engerek
model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestRbacDeprecated.java
Java
apache-2.0
1,603
package com.koch.ambeth.util; import org.junit.Assert; import org.junit.Test; import com.koch.ambeth.ioc.util.ImmutableTypeSet; public class ImmutableTypeSetTest { public interface MyType { // intended blank } public class MyClass implements MyType { // intended blank } @Test public void...
Dennis-Koch/ambeth
jambeth/jambeth-ioc-test/src/test/java/com/koch/ambeth/util/ImmutableTypeSetTest.java
Java
apache-2.0
677
/* * 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-bpmn-model/src/main/java/org/activiti/bpmn/model/EventGateway.java
Java
apache-2.0
912
/* * Copyright 2017-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...
shybovycha/buck
src/com/facebook/buck/skylark/io/impl/SimpleGlobber.java
Java
apache-2.0
3,622