repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
caozeal/Utopia
Source/UtopiaLand/test/com/caozeal/someTry/TestTryTest.java
786
package com.caozeal.practice; import static org.assertj.core.api.Assertions.*; import org.junit.Test; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; public class TestTryTest { // @OdevityMain2 // publ...
apache-2.0
dimagi/javarosa
javarosa/core/src/main/java/org/javarosa/model/xform/XFormSerializingVisitor.java
8206
package org.javarosa.model.xform; import org.javarosa.core.data.IDataPointer; import org.javarosa.core.model.IAnswerDataSerializer; import org.javarosa.core.model.instance.FormInstance; import org.javarosa.core.model.instance.TreeElement; import org.javarosa.core.model.instance.TreeReference; import org.javarosa.core....
apache-2.0
xjaros1/bulldog
bulldog-board-beagleboneblack/src/main/java/io/silverspoon/bulldog/beagleboneblack/devicetree/DeviceTreeCompiler.java
1303
package io.silverspoon.bulldog.beagleboneblack.devicetree; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.PrintWriter; public class DeviceTreeCompiler { private static final String FIRMWARE_PATH = "/lib/firmware/"; private static final String OBJECT_FILE_PATTER...
apache-2.0
PeterXyp/sapidoc
src/main/java/com/xyp/sapidoc/idoc/enumeration/TagEnum.java
1036
package com.xyp.sapidoc.idoc.enumeration; import java.util.HashSet; import java.util.Set; /** * * @author Yunpeng_Xu */ public enum TagEnum { FIELDS("FIELDS"), RECORD_SECTION("RECORD_SECTION"), CONTROL_RECORD("CONTROL_RECORD"), DATA_RECORD("DATA_RECORD"), STATUS_RECORD("ST...
apache-2.0
intuit/wasabi
modules/auditlog-objects/src/test/java/com/intuit/wasabi/auditlogobjects/AuditLogEntryFactoryTest.java
3157
/******************************************************************************* * Copyright 2016 Intuit * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.o...
apache-2.0
alancnet/artifactory
web/rest-ui/src/main/java/org/artifactory/ui/rest/service/admin/configuration/mail/GetMailService.java
2025
package org.artifactory.ui.rest.service.admin.configuration.mail; import org.artifactory.api.config.CentralConfigService; import org.artifactory.descriptor.config.MutableCentralConfigDescriptor; import org.artifactory.rest.common.service.ArtifactoryRestRequest; import org.artifactory.rest.common.service.RestResponse; ...
apache-2.0
alanfgates/hive
standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WriteNotificationLogRequest.java
30759
/** * Autogenerated by Thrift Compiler (0.9.3) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ package org.apache.hadoop.hive.metastore.api; import org.apache.thrift.scheme.IScheme; import org.apache.thrift.scheme.SchemeFactory; import org.apache.thrift.scheme.StandardScheme;...
apache-2.0
Qi4j/qi4j-core
bootstrap/src/main/java/org/qi4j/bootstrap/AssemblyVisitorAdapter.java
1820
/* * Copyright (c) 2009, Rickard Öberg. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable l...
apache-2.0
ctripcorp/cornerstone
cornerstone/src/main/java/com/ctrip/framework/cs/enterprise/NexusEnMaven.java
5024
package com.ctrip.framework.cs.enterprise; import com.ctrip.framework.cs.configuration.ConfigurationManager; import com.ctrip.framework.cs.configuration.InitConfigurationException; import com.ctrip.framework.cs.util.HttpUtil; import com.ctrip.framework.cs.util.PomUtil; import com.google.gson.Gson; import org.slf4j.Log...
apache-2.0
googleapis/google-api-java-client-services
clients/google-api-services-speech/v1/1.31.0/com/google/api/services/speech/v1/model/WordInfo.java
7866
/* * 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...
apache-2.0
brettryan/jdk8-lambda-samples
src/main/java/com/drunkendev/lambdas/PartitioningOperators.java
6846
/* * PartitioningOperators.java Feb 3 2014, 03:44 * * Copyright 2014 Drunken Dev. * * 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...
apache-2.0
syntelos/shapefile-java
src/com/esri/mapred/PointFeatureInputFormat.java
1483
package com.esri.mapred; import com.esri.io.PointFeatureWritable; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.mapred.InputSplit; import org.apache.hadoop.mapred.JobConf; import org.apache.hadoop.mapred.RecordReader; import org.apache.hadoop.mapred.Reporter; import java.io.IOException; /** */ ...
apache-2.0
GoogleCloudPlatform/dlp-rdb-bq-import
src/main/java/com/google/swarm/sqlserver/migration/common/SqlDataType.java
1596
/* Copyright 2018 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 writing...
apache-2.0
dbflute-test/dbflute-test-dbms-mysql
src/main/java/org/docksidestage/mysql/dbflute/bsentity/BsWhiteImplicitReverseFkRef.java
10962
/* * Copyright 2004-2013 the Seasar Foundation and the Others. * * 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 ...
apache-2.0
flaxsearch/BioSolr
ontology/ontology-annotator/elasticsearch-ontology-annotator/es-ontology-annotator-es2.2/src/main/java/uk/co/flax/biosolr/elasticsearch/OntologyHelperBuilder.java
4116
/** * Copyright (c) 2016 Lemur Consulting Ltd. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by appli...
apache-2.0
dbflute-test/dbflute-test-dbms-mysql
src/main/java/org/docksidestage/mysql/dbflute/immuhama/bsbhv/loader/ImmuLoaderOfMemberLogin.java
3938
/* * Copyright 2004-2013 the Seasar Foundation and the Others. * * 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 ...
apache-2.0
hotpads/datarouter
datarouter-webapp-instance/src/main/java/io/datarouter/webappinstance/storage/webappinstancelog/DatarouterWebappInstanceLogDao.java
3351
/* * Copyright © 2009 HotPads (admin@hotpads.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
apache-2.0
fjgalesloot/eFJenergy
Android/app/src/main/java/nl/galesloot_ict/efjenergy/MeterReading/MeterReadingsList.java
794
package nl.galesloot_ict.efjenergy.MeterReading; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.databind.JsonMappingException; import com.fasterxml.jackson.databind.ObjectMapper; import java.io.IOException; import java.util.Array...
apache-2.0
ArthurZhong/SparkStormKafkaTest
src/main/java/com/walmart/labs/pcs/normalize/MongoDB/SpringBoot/service/PersonService.java
925
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...
apache-2.0
levanlevi/AgWeatherNet
src/edu/wsu/weather/agweathernet/helpers/StationModel.java
2366
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...
apache-2.0
Gaduo/hapi-fhir
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/term/VersionIndependentConcept.java
1149
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 * * ...
apache-2.0
soundcloud/zipkin
benchmarks/src/main/java/zipkin/benchmarks/Span2ConverterBenchmarks.java
5211
/** * 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 ...
apache-2.0
MyAccInt/aem-project-archetype
src/main/archetype/core/src/main/java/core/servlets/SimpleServlet.java
2367
/* * 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...
apache-2.0
Nintinugga/SportsManager
app/src/main/java/com/comp/ninti/sportsmanager/LeaderBoard.java
2193
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...
apache-2.0
ahwxl/ads
ads/src/main/java/com/bplow/netconn/systemmng/domain/RoleDomain.java
824
/** * 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() {...
apache-2.0
breex-it/breex-bus
breex-bus-jms/src/main/java/it/breex/bus/impl/jms/JmsEventManager.java
4233
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...
apache-2.0
jhorey/Paja
src/gov/ornl/paja/storage/LogMessage.java
1764
/** * 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...
apache-2.0
mduerig/json-jerk
src/main/java/michid/jsonjerk/LevelOrderJsonParser.java
6473
/* * 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 ...
apache-2.0
degauhta/dgagarsky
chapter_001/src/test/java/ru/job4j/package-info.java
81
/** * For JavaDocs. *@author dgagarsky *@since 01.12.2016 */ package ru.job4j;
apache-2.0
Lyndir/Opal
discontinued/opal-geo/src/main/java/com/lyndir/lhunath/opal/gui/ListenerAction.java
2900
/* * 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...
apache-2.0
sdw2330976/Research-spring-data-jpa
spring-data-jpa-1.7.1.RELEASE/src/test/java/org/springframework/data/jpa/repository/config/TypeFilterConfigTests.java
1407
/* * 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...
apache-2.0
bobmcwhirter/drools
drools-core/src/main/java/org/drools/rule/InvalidRulePackage.java
1064
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 ...
apache-2.0
niuwanlu/twu-biblioteca-niuwanlu-tdd
src/main/java/com/twu/biblioteca/service/impl/BookListServiceImpl.java
863
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...
apache-2.0
j4velin/WiFi-Automatic
src/play/java/de/j4velin/wifiAutoOff/GeoFenceService.java
3340
/* * 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...
apache-2.0
opencb/opencga
opencga-analysis/src/test/java/org/opencb/opencga/analysis/individual/qc/IndividualQcUtilsTest.java
6198
/* * 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 ...
apache-2.0
leafclick/intellij-community
plugins/InspectionGadgets/src/com/siyeh/ig/redundancy/RedundantStringOperationMerger.java
2723
// 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...
apache-2.0
AndroidAdu/material-News
lib/src/main/java/com/app/annotation/aspect/Permission.java
363
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...
apache-2.0
jwren/intellij-community
platform/lang-impl/src/com/intellij/openapi/module/impl/ModuleImpl.java
12736
// 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...
apache-2.0
haikuowuya/android_system_code
src/com/sun/mirror/declaration/Declaration.java
5514
/* * 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...
apache-2.0
xsolla/xsolla-sdk-android
xsollasdk/src/main/java/com/xsolla/android/sdk/data/model/XHoldSubscriptionStatus.java
827
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; ...
apache-2.0
arthurgregorio/exemplos
FullJeeArch/src/main/java/br/eti/arthurgregorio/fulljeearch/domain/security/ApplicationRoles.java
228
package br.eti.arthurgregorio.fulljeearch.domain.security; /** * * @author Arthur */ public interface ApplicationRoles { public final String USER = "Usuario"; public final String ADMINISTRATOR = "Administrador"; }
apache-2.0
almende/dialog
dialoghandler/src/main/java/com/almende/dialog/example/agent/YesNoAgent.java
7159
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...
apache-2.0
ConsecroMUD/ConsecroMUD
com/suscipio_solutions/consecro_mud/Commands/NoFollow.java
1837
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...
apache-2.0
nate-rcl/irplus
ir_core/src/edu/ur/ir/researcher/ResearcherLink.java
5358
/** 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...
apache-2.0
dbflute-session/erflute
src/org/dbflute/erflute/db/impl/mysql/MySQLPreTableImportManager.java
2037
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...
apache-2.0
oehme/analysing-gradle-performance
my-lib/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p36/Test730.java
2107
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...
apache-2.0
tatyano/athenz
libs/java/server_common/src/main/java/com/yahoo/athenz/common/metrics/impl/NoOpMetric.java
1436
/** * 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 ...
apache-2.0
AlSidorenko/Junior
chapter_002/src/main/java/ru/job4j/polymorphism/StubInput.java
747
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...
apache-2.0
emag/codereading-undertow
core/src/main/java/io/undertow/attribute/ThreadNameAttribute.java
1955
/* * 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...
apache-2.0
znck/technothlon-android-app
katana/src/main/java/org/techniche/technothlon/katana/tcd/TCDContent.java
13524
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...
apache-2.0
punkhorn/camel-upstream
components/camel-spring/src/test/java/org/apache/camel/spring/scan/DefaultPackageScanClassResolverTest.java
8636
/** * 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-2.0
opennetworkinglab/onos
protocols/snmp/ctl/src/test/java/org/onosproject/snmp/ctl/DefaultSnmpControllerTest.java
4414
/* * 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...
apache-2.0
weiwenqiang/GitHub
SelectWidget/city/CityPicker/citypicker/src/main/java/com/zaaach/citypicker/db/DBManager.java
3876
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...
apache-2.0
eSDK/esdk_sms
source/esdk_sms_neadp_http/src/main/java/com/huawei/esdk/sms/north/http/common/AbstractXMLProcessor.java
4493
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...
apache-2.0
nishtahir/Mektory-BeginnersAndroid
Week2/mygame/src/main/java/com/example/Movable.java
147
package com.example; /** * Created by Nish on 2/21/15. */ public interface Movable { public void moveLeft(); public void moveRight(); }
apache-2.0
nes1983/tree-regex
src/ch/unibe/scg/regex/RegexToNFA.java
10402
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...
apache-2.0
TextGlass/reference
client/src/TransformerIsNumber.java
972
/* * 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...
apache-2.0
pepperonas/MaterialDialog
library/src/main/java/com/pepperonas/materialdialog/adapter/ShareAdapter.java
3990
/* * 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...
apache-2.0
ylyxf/stone-sdk
src/main/java/com/siqisoft/stone/admin/dict/controller/DictController.java
2471
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; ...
apache-2.0
consulo/consulo
modules/base/lang-api/src/main/java/com/intellij/refactoring/listeners/RefactoringElementListenerProvider.java
1347
/* * 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...
apache-2.0
johnktims/gh-event-api
src/main/java/com/github/shredder121/gh_event_api/handler/pull_request/PullRequestHandler.java
873
/* * 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...
apache-2.0
techmaster-prj/BenhAnDienTu
BenhAnDienTu/src/com/nguyenmanhtuan/benhandientu/RegisteredActivity.java
2788
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...
apache-2.0
Vertabelo/mobiorm-demo-android
app/src/main/java/com/vertabelo/mobileorm/myplaces/orm/gen/AddressViewDAOImpl.java
6557
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) { ...
apache-2.0
zhangminglei/flink
flink-libraries/flink-cep/src/test/java/org/apache/flink/cep/operator/CEPMigrationTest.java
24021
/* * 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 ...
apache-2.0
paplorinc/intellij-community
java/java-impl/src/com/intellij/codeInsight/generation/OverrideImplementsAnnotationsHandler.java
3542
// 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...
apache-2.0
Tarrest/java_home
addressbook/src/test/java/com/chisw/work/addressbook/test/TestGroupModification.java
1230
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;...
apache-2.0
omengye/ws
common/src/main/java/io/omengye/common/utils/constants/Constants.java
153
package io.omengye.common.utils.constants; public class Constants { private Constants(){} public static final String RESULT_FLAG = "flag"; }
apache-2.0
alexruiz/fest-assert-2.x
src/test/java/org/fest/assertions/api/LongAssert_isNull_Test.java
1440
/* * 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...
apache-2.0
openpreserve/plato
plato-model/src/main/java/eu/scape_project/planning/model/transform/Transformer.java
4334
/******************************************************************************* * 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...
apache-2.0
jgpacker/rundeck
core/src/test/java/com/dtolabs/rundeck/core/execution/workflow/TestStepFirstWorkflowStrategy.java
100809
/* * 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 ...
apache-2.0
GerritCodeReview/plugins_hooks-rtc
src/main/java/com/googlesource/gerrit/plugins/hooks/rtc/network/HttpPatch.java
999
// 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 ...
apache-2.0
mtunique/flink
flink-tests/src/test/java/org/apache/flink/test/runtime/NetworkStackThroughputITCase.java
10771
/* * 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 ...
apache-2.0
abotos/ClujLiveTransit
Java/appengine-code/appengine-web-ui/src/java/org/cluj/bus/servlet/BusScheduleServlet.java
3589
/* * ************************************************************************* * 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,...
apache-2.0
logzio/camel
components/camel-netty4/src/main/java/org/apache/camel/component/netty4/NettyComponent.java
5124
/** * 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-2.0
IAMTJW/Tomcat-8.5.20
tomcat-8.5.20/java/org/apache/catalina/valves/rewrite/Resolver.java
1568
/* * 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...
apache-2.0
fogbeam/Heceta_droids
droids-core/src/main/java/org/apache/droids/impl/SequentialTaskMaster.java
4864
/* * 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-2.0
ForeverWJY/CoolQ_Java_Plugin
src/main/java/com/wjyup/coolq/util/SendMessageUtil.java
1815
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...
apache-2.0
spariev/snakeyaml
src/main/java/org/yaml/snakeyaml/tokens/DirectiveToken.java
1789
/** * 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...
apache-2.0
ibissource/iaf
core/src/test/java/nl/nn/adapterframework/http/cxf/SoapProviderTest.java
16059
/* 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...
apache-2.0
emite-mx/ef-sdk-java
ef-sdk-java/src/main/java/mx/emite/sdk/scot/request/SucursalesAltaRequest.java
1030
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...
apache-2.0
vschs007/buck
src/com/facebook/buck/rust/RustTestDescription.java
6463
/* * 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...
apache-2.0
artyomkorzun/efix
src/main/java/org/efix/util/buffer/BufferUtil.java
536
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) { ...
apache-2.0
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
4185
/* * 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-2.0
EsikAntony/camunda-task-dispatcher
camunda-task-dispatcher-mapper-xml/src/main/java/com/ae/camunda/dispatcher/mapper/xml/XmlTaskMapper.java
1991
/* * 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...
apache-2.0
fywxin/base
system-parent/ext-code/src/main/java/org/whale/ext/domain/Domain.java
3741
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...
apache-2.0
Mikuz/Boarder
src/fi/mikuz/boarder/util/ContextUtils.java
2556
/* ========================================================================= * * Boarder * * http://boarder.mikuz.org/ * * ========================================================================= * ...
apache-2.0
kunickiaj/datacollector
sdc-kafka_0_8/src/main/java/com/streamsets/pipeline/kafka/impl/KafkaProducer08.java
6836
/* * 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...
apache-2.0
jentfoo/aws-sdk-java
aws-java-sdk-docdb/src/main/java/com/amazonaws/services/docdb/model/transform/EventStaxUnmarshaller.java
3623
/* * 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...
apache-2.0
gentics/mesh
changelog-system/src/main/java/com/gentics/mesh/changelog/changes/ReplaceSchemaVersionEdges.java
877
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...
apache-2.0
862573026/SchoolHRProj
Android/HRAM_SNU_App/hr-client/src/androidTest/java/sl/hr_client/ApplicationTest.java
343
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...
apache-2.0
UnsupervisedOntologyLearning/hrLDA
hrLDA/src/cc/mallet/util/Strings.java
1930
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...
apache-2.0
ChrisLMerrill/muse
core/src/main/java/org/museautomation/core/step/CallMacroStep.java
3625
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...
apache-2.0
goodwinnk/intellij-community
platform/vcs-impl/src/com/intellij/openapi/diff/impl/patch/formove/PathsVerifier.java
23092
// 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...
apache-2.0
GregSaintJean/Beacon
src/com/therabbitmage/android/beacon/network/URLShortenerAPI.java
2158
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...
apache-2.0
jmnarloch/spring-jax-rs-client-proxy
src/test/java/com/github/jmnarloch/spring/jaxrs/client/support/JaxRsClientProxyFactorySupportTest.java
2921
/** * 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...
apache-2.0
lmu-bioinformatics/ucanaccess
src/test/java/net/ucanaccess/test/PasswordTest.java
1516
/* 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...
apache-2.0
KernelHaven/KernelHaven
src/net/ssehub/kernel_haven/code_model/CodeModelProvider.java
3998
/* * 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 * ...
apache-2.0
sbower/kuali-rice-1
it/kew/src/test/java/org/kuali/rice/edl/impl/TestConfigProcessor.java
734
/* * 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...
apache-2.0
HiveKa/HiveKa
src/main/java/org/apache/hadoop/hive/kafka/camus/KafkaKey.java
6733
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...
apache-2.0
BladeRunnerJS/brjs-JsTestDriver
JsTestDriver/src/com/google/jstestdriver/output/FileNameFormatter.java
1271
/* * 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...
apache-2.0