repo_name
stringlengths
5
108
path
stringlengths
6
333
size
stringlengths
1
6
content
stringlengths
4
977k
license
stringclasses
15 values
iservport/helianto
helianto-core/src/main/java/org/helianto/core/test/EntityTestSupport.java
1747
package org.helianto.core.test; import org.helianto.core.domain.Entity; import java.util.ArrayList; import java.util.List; /** * Class to support <code>Entity</code> tests. * * @author Mauricio Fernandes de Castro */ public class EntityTestSupport { public static Entity entity = createEntity(); public...
apache-2.0
genericsystem/genericsystem2015
gs-kernel/src/test/java/org/genericsystem/remote/MetaRelationTest.java
1116
package org.genericsystem.remote; //package org.genericsystem.kernel; // //import java.util.Collections; // //import org.testng.annotations.Test; // //@Test //public class MetaRelationTest extends AbstractTest { // // public void test001_setMetaAttribute_engineEngine() { // // Root engine = new Root(); // Vertex meta...
apache-2.0
serge-rider/dbeaver
plugins/org.jkiss.dbeaver.core/src/org/jkiss/dbeaver/ui/dialogs/connection/ConnectionPageNetwork.java
9725
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
apache-2.0
joel-costigliola/assertj-core
src/test/java/org/assertj/core/internal/files/Files_assertHasDigest_DigestBytes_Test.java
6237
/* * 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
micromagic/eterna
main/src/share/self/micromagic/util/CustomResultIterator.java
2942
/* * Copyright 2009-2015 xinjunli (micromagic@sina.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 requi...
apache-2.0
leibing8912/QuickInquiry
jkchat/src/main/java/cn/jianke/jkchat/data/dao/JkChatConversationDaoWrapper.java
7135
package cn.jianke.jkchat.data.dao; import android.content.Context; import com.jk.chat.gen.JkChatConversationDao; import org.greenrobot.greendao.query.QueryBuilder; import java.util.List; import cn.jianke.jkchat.domain.JkChatConversation; import cn.jianke.jkchat.domain.JkChatMessage; /** * @className: JkChatConversat...
apache-2.0
jorseph/SearchRestaurant
app/src/main/java/com/example/currentplacedetailsonmap/data/LocationInfo.java
2078
package com.example.currentplacedetailsonmap.data; import java.io.Serializable; public class LocationInfo implements Serializable { private String placeid; private String lat; private String lng; private String vicinity; //addr private String tel; private String name; private String atype; private String ph...
apache-2.0
vindell/spring-boot-starter-rocketmq
src/main/java/org/apache/rocketmq/spring/boot/handler/impl/RocketmqEventMessageOrderlyHandler.java
1872
package org.apache.rocketmq.spring.boot.handler.impl; import org.apache.rocketmq.client.consumer.listener.ConsumeOrderlyContext; import org.apache.rocketmq.common.message.MessageExt; import org.apache.rocketmq.spring.boot.event.RocketmqEvent; import org.apache.rocketmq.spring.boot.handler.AbstractRouteableMessage...
apache-2.0
China-ls/wechat4java
src/main/java/weixin/popular/bean/paymch/MchBaseResult.java
1987
package weixin.popular.bean.paymch; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement(name = "xml") @XmlAccessorType(XmlAccessType.FIELD) public class MchBaseResult { protected String return_code; ...
apache-2.0
pascalrobert/aribaweb
src/util/src/main/java/ariba/util/core/Crypto.java
9878
/* Copyright 1996-2008 Ariba, 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
ThoughtWorksInc/go-plugin-util
src/maven/ActivationFile.java
2240
package maven; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; /** * * This is the file specification used to activate the profile. The missing value will be the location * of a file that needs to exist, ...
apache-2.0
CChengz/dot.r
workspace/fits/ke/src/main/java/uk/ac/abdn/fits/hibernate/dao/OperationalHoursDAO.java
465
package uk.ac.abdn.fits.hibernate.dao; /** * @author Cheng Zeng, University of Aberdeen * */ import java.util.List; import org.springframework.transaction.annotation.Transactional; import uk.ac.abdn.fits.hibernate.model.OperationalHours; @Transactional(readOnly = false) public interface OperationalHoursDAO {...
apache-2.0
google-code-export/google-api-dfp-java
src/com/google/api/ads/dfp/v201308/UserServiceInterface.java
5273
/** * UserServiceInterface.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.google.api.ads.dfp.v201308; public interface UserServiceInterface extends java.rmi.Remote { /** * Creates a new {@link User}. * ...
apache-2.0
hanahmily/sky-walking
apm-sniffer/apm-sdk-plugin/motan-plugin/src/main/java/org/apache/skywalking/apm/plugin/motan/MotanConsumerInterceptor.java
4540
/* * 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
breskeby/sourcerer
model/src/main/groovy/org/eclipse/buildship/docs/model/SimpleClassMetaDataRepository.java
3132
/* * Copyright 2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
apache/incubator-asterixdb
asterixdb/asterix-runtime/src/main/java/org/apache/asterix/runtime/aggregates/std/IntermediateStddevPopAggregateDescriptor.java
2654
/* * 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
syntelos/gwtcc
src/com/google/gwt/dev/util/arg/OptionGuiLogger.java
937
/* * Copyright 2008 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
solimant/druid
benchmarks/src/main/java/io/druid/benchmark/TimeParseBenchmark.java
3489
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
apache-2.0
gitee2008/glaf
src/main/java/com/glaf/core/util/DBUtils.java
86107
/* * 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
xydu/carve
carve-core/src/test/java/com/qiyi/usercloud/carve/demoservice/AddressBookProtos.java
62319
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: qiantao.proto package com.qiyi.usercloud.carve.demoservice; public final class AddressBookProtos { private AddressBookProtos() {} public static void registerAllExtensions( com.google.protobuf.ExtensionRegistry registry) { } public in...
apache-2.0
weiwenqiang/GitHub
MVP/RxJava2ToMVP/Rx-Mvp-master/app/src/main/java/com/rx/mvp/cn/view/iface/IPhoneAddressView.java
305
package com.rx.mvp.cn.view.iface; import com.rx.mvp.cn.base.IBaseView; import com.rx.mvp.cn.model.bean.AddressBean; /** * 手机归属地页面view接口 * * @author ZhongDaFeng */ public interface IPhoneAddressView extends IBaseView { //显示结果 void showResult(AddressBean bean); }
apache-2.0
markusgumbel/dshl7
hl7-javasig/src/org/hl7/types/impl/QSETPeriodicHullImpl.java
4182
/* The contents of this file are subject to the Health Level-7 Public * License Version 1.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.hl7.org/HPL/ * * Software distributed under the License is distributed on an "AS IS" ...
apache-2.0
wuranbo/elasticsearch
core/src/main/java/org/elasticsearch/action/bulk/BulkRequest.java
25029
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
apache-2.0
googleapis/java-automl
proto-google-cloud-automl-v1/src/main/java/com/google/cloud/automl/v1/AnnotationSpecOrBuilder.java
2549
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
apache-2.0
intellimate/IzouSDK
src/main/java/org/intellimate/izou/sdk/events/Event.java
9531
package org.intellimate.izou.sdk.events; import org.intellimate.izou.events.EventBehaviourControllerModel; import org.intellimate.izou.events.EventLifeCycle; import org.intellimate.izou.events.EventModel; import org.intellimate.izou.identification.Identification; import org.intellimate.izou.resource.ListResourceProvid...
apache-2.0
phonedeck/gcm4j
src/main/java/com/phonedeck/gcm4j/DefaultConnectionFactory.java
402
package com.phonedeck.gcm4j; import java.io.IOException; import java.net.HttpURLConnection; import java.net.URL; /** * Connection Factory that uses {@link URL#openConnection()}. * */ public class DefaultConnectionFactory implements ConnectionFactory { @Override public HttpURLConnection open(URL url) throw...
apache-2.0
kejunxia/AndroidMvc
library/android-mvc-test/src/main/java/com/shipdream/lib/android/mvc/view/viewpager/BaseTabFragment.java
2856
/* * Copyright 2016 Kejun Xia * * 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
Blaxcraft/MineRad
src/main/java/us/mcsw/minerad/blocks/BlockMicrowave.java
1325
package us.mcsw.minerad.blocks; import net.minecraft.block.ITileEntityProvider; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.IIcon; import net.minecraft.world.IBlockAccess; import ...
apache-2.0
inkstand-io/scribble
scribble-security/src/main/java/io/inkstand/scribble/security/SimpleUserPrincipal.java
1122
/* * Copyright 2015-2016 DevCon5 GmbH, info@devcon5.ch * * 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
3dcitydb/importer-exporter
impexp-core/src/main/java/org/citydb/core/operation/importer/filter/type/FeatureTypeFilter.java
4449
/* * 3D City Database - The Open Source CityGML Database * https://www.3dcitydb.org/ * * Copyright 2013 - 2021 * Chair of Geoinformatics * Technical University of Munich, Germany * https://www.lrg.tum.de/gis/ * * The 3D City Database is jointly developed with the following * cooperation partners: * * Virtua...
apache-2.0
R2RMLManuelFernandez/R2RML
src/view/menu/ontology/OpenOntologyIRI.java
12983
/* * Copyright 2015 Manuel Fernández Pérez * * 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
bcopeland/hbase-thrift
src/main/java/org/apache/hadoop/hbase/client/coprocessor/Exec.java
4921
/* * Copyright 2010 The Apache Software Foundation * * 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-2.0
SweetyDonut/java_pft
Sandbox/src/main/java/ru/stqa/pft/sandbox/Square.java
230
package ru.stqa.pft.sandbox; /** * Created by Даниил on 06.05.2017. */ public class Square { public double l; public Square(double l) { this.l = l; } public double area() { return this.l * this.l; } }
apache-2.0
liuxing521a/xcnet
xcnet-common/src/main/java/org/itas/xcnet/common/serialize/support/java/JavaObjectOutput.java
2605
/* * Copyright 2014-2015 itas group * * 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
dengdunan/MobileSafe
app/src/main/java/mobilesafe/dda/com/activity/EnterPwdActivity.java
6857
package mobilesafe.dda.com.activity; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.text.InputType; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import com.dda.mobilesafe.utils.UI...
apache-2.0
yext/closure-templates
java/src/com/google/template/soy/data/internal/AugmentedParamStore.java
2522
/* * 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 ...
apache-2.0
dlwhitehurst/MusicRecital
src/main/java/org/musicrecital/service/impl/RoleManagerImpl.java
1780
/** * Copyright 2014 David L. Whitehurst * * 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
albertoteloko/wave-server
router/http/src/main/java/com/acs/wave/router/HTTPResponseBuilder.java
3696
package com.acs.wave.router; import com.acs.wave.router.constants.ProtocolVersion; import com.acs.wave.router.constants.RedirectStatus; import com.acs.wave.router.functional.BodyWriter; import com.acs.wave.router.constants.ResponseStatus; import com.acs.wave.utils.ExceptionUtils; import java.util.Optional; import st...
apache-2.0
nengxu/OrientDB
server/src/main/java/com/orientechnologies/orient/server/network/protocol/http/command/get/OServerCommandGetStaticContent.java
9117
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.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 ...
apache-2.0
argius/Stew4
src/net/argius/stew/command/Download.java
6380
package net.argius.stew.command; import static java.sql.Types.*; import java.io.*; import java.sql.*; import net.argius.stew.*; /** * The Download command used to save selected data to files. */ public final class Download extends Command { private static final Logger log = Logger.getLogger(Download.class); ...
apache-2.0
ondrejvelisek/perun-wui
perun-wui-registrar/src/main/java/cz/metacentrum/perun/wui/registrar/widgets/items/PerunFormItem.java
3923
package cz.metacentrum.perun.wui.registrar.widgets.items; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.ui.Widget; import cz.metacentrum.perun.wui.json.Events; import cz.metacentrum.perun.wui.model.beans.ApplicationFormItemData; import cz.metacentrum.perun.wui.registrar.client.resources.Peru...
apache-2.0
amilamanoj/iotuc-miner
iot-miner-ws/src/test/java/de/tum/in/i17/iotminer/IotMinerApplicationTests.java
341
package de.tum.in.i17.iotminer; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class IotMinerApplicationTests { @Test public void co...
apache-2.0
bbxyard/bbxyard
yard/skills/66-java/spboot/src/main/java/com/imooc/config/MyWebMvcConfigure.java
1184
package com.imooc.config; import com.imooc.controller.interceptor.handlers.OneInterceptor; import com.imooc.controller.interceptor.handlers.TwoInterceptor; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframewo...
apache-2.0
klyushnik/upcItemDB_Client
zxing/build/generated/source/r/androidTest/debug/com/google/zxing/client/android/R.java
12958
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.google.zxing.client.android; public final class R { public static final class array { public static final int country_codes...
apache-2.0
scriptella/scriptella-etl
tools/src/test/scriptella/tools/ant/EtlTemplateTaskTest.java
2171
/* * Copyright 2006-2012 The Scriptella Project Team. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
apache-2.0
jiajunhui/XFolder
app/src/main/java/com/kk/taurus/xfolder/bean/StateRecord.java
763
package com.kk.taurus.xfolder.bean; import java.io.Serializable; /** * Created by Taurus on 2017/5/12. */ public class StateRecord implements Serializable { private int focusPosition; private int scrollToPosition; private int offset; public int getFocusPosition() { return focusPosition; ...
apache-2.0
Geomatys/sis
core/sis-referencing/src/main/java/org/apache/sis/referencing/operation/projection/ProjectionException.java
3662
/* * 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
atmelino/JATexperimental
src/jat/coreNOSA/gps/URE_Model.java
6016
package jat.coreNOSA.gps; /* JAT: Java Astrodynamics Toolkit * * Copyright (c) 2003 National Aeronautics and Space Administration. All rights reserved. * * This file is part of JAT. JAT is free software; you can * redistribute it and/or modify it under the terms of the * NASA Open Source Agreement * * * T...
apache-2.0
charithag/carbon-device-mgt-framework
components/policy-mgt/org.wso2.carbon.policy.mgt.core/src/main/java/org/wso2/carbon/policy/mgt/core/dao/PolicyManagementDAOFactory.java
6767
/* * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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/...
apache-2.0
LamdaFu/statzall
statzall-core/src/test/java/statzall/codec/StreamCalcKryoTest.java
539
package statzall.codec; import static org.junit.Assert.*; import org.junit.Test; import statzall.Cast; import statzall.StreamCalc; import statzall.codec.StreamCalcKryo; public class StreamCalcKryoTest { @Test public void test() { StreamCalc calc = new StreamCalc(10, 10); StreamCalcKryo target = new StreamCa...
apache-2.0
ppavlidis/aspiredb
aspiredb/src/main/java/ubc/pavlab/aspiredb/shared/query/AspireDbFilterConfig.java
971
/* * The aspiredb project * * Copyright (c) 2012 University of British Columbia * * 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 * * ...
apache-2.0
tectronics/hyracks
algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/properties/AbstractGroupingProperty.java
3116
/* * Copyright 2009-2013 by The Regents of the University of California * 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 from * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
apache-2.0
reTHINK-project/dev-registry-domain
server/src/main/java/domainregistry/exception/HypertiesNotFoundException.java
701
/** * Copyright 2015-2016 INESC-ID * * 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
bobmcwhirter/drools
drools-core/src/main/java/org/drools/reteoo/RuleRemovalContext.java
2187
/* * Copyright 2008 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
apache-2.0
Legioth/vaadin
server/src/main/java/com/vaadin/data/Result.java
6251
/* * Copyright 2000-2016 Vaadin Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
apache-2.0
cibuddy/cibuddy
drivers/hid/src/test/java/com/cibuddy/hid/test/HIDManagerTest.java
2419
package com.cibuddy.hid.test; import com.codeminders.hidapi.ClassPathLibraryLoader; import com.codeminders.hidapi.HIDDeviceInfo; import com.codeminders.hidapi.HIDManager; import java.io.IOException; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Ignore; import org.junit.Test; /** * A simple ...
apache-2.0
OpenGamma/Strata
modules/product/src/main/java/com/opengamma/strata/product/swap/RateCalculationSwapLeg.java
28501
/* * Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.strata.product.swap; import java.io.Serializable; import java.time.LocalDate; import java.util.List; import java.util.Map; import java.util.NoSuchElementExcepti...
apache-2.0
goodev/android-discourse
userVoiceSDK/src/main/java/com/uservoice/uservoicesdk/ui/Utils.java
5192
package com.uservoice.uservoicesdk.ui; import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.net.Uri; import android.support.v4.app.FragmentActivity; import android.util.TypedValue; import android.view.View; import android.w...
apache-2.0
mikouaj/finsight
finsight-backend/src/main/java/pl/surreal/finance/transaction/resources/TransactionResource.java
11611
/* Copyright 2016 Mikolaj Stefaniak * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed u...
apache-2.0
Vam85/gwt-createjs
gwt-easeljs/src/com/voisintech/easeljs/display/MovieClip.java
69
package com.voisintech.easeljs.display; public class MovieClip { }
apache-2.0
HuangLS/neo4j
advanced/management/src/main/java/org/neo4j/management/HighAvailability.java
2055
/* * Copyright (c) 2002-2018 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Fo...
apache-2.0
EMostafaAli/HlaListener
src/main/java/ca/mali/customcontrol/DimensionsListController.java
6175
/* * Copyright (c) 2015-2016, Mostafa Ali (engabdomostafa@gmail.com) * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: Redistributions of source code must retain the above copyright * notice, ...
apache-2.0
ManfredTremmel/gwt-bean-validators
gwt-bean-validators/src/main/java/de/knightsoftnet/validators/client/data/PhoneRegionCode504Constants.java
1101
/* * 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 ...
apache-2.0
duftler/clouddriver
clouddriver-kubernetes/src/main/java/com/netflix/spinnaker/clouddriver/kubernetes/provider/KubernetesModelUtil.java
3696
/* * 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 ...
apache-2.0
astefanutti/camel-cdi
envs/se/src/test/java/org/apache/camel/cdi/se/MultiCamelContextReusedRouteTest.java
4298
/** * 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...
apache-2.0
StephanieMak/word2vec-query-expansion
src/main/java/com/radialpoint/word2vec/Vectors.java
4960
/* * Copyright 2014 Radialpoint SafeCare 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 re...
apache-2.0
evandor/skysail
skysail.server.queryfilter/src/io/skysail/server/queryfilter/parser/LdapParser.java
9977
package io.skysail.server.queryfilter.parser; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Set; import org.osgi.framework.InvalidSyntaxException; import org.osgi.service.component.annotations.Component; import io.skysail.server.domain.jvm.FieldFacet; import io.skysail.ser...
apache-2.0
jon-stumpf/traccar
test/org/traccar/protocol/TelicProtocolDecoderTest.java
4381
package org.traccar.protocol; import org.junit.Test; import org.traccar.ProtocolTest; public class TelicProtocolDecoderTest extends ProtocolTest { @Test public void testDecode() throws Exception { TelicProtocolDecoder decoder = new TelicProtocolDecoder(new TelicProtocol()); verifyNull(decod...
apache-2.0
KMANTER/StopMyLine2016
client/StopTheLine-android/gen/com/skm/stl/R.java
567
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.skm.stl; public final class R { public static final class attr { } public static final class drawable { p...
apache-2.0
trasa/aws-sdk-java
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Volume.java
8673
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
apache-2.0
rajeevanv89/developer-studio
esb/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/edit/policies/TransactionMediatorOutputConnectorItemSemanticEditPolicy.java
3894
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.policies; import java.util.Iterator; import org.eclipse.emf.ecore.EAnnotation; import org.eclipse.gef.commands.Command; import org.eclipse.gmf.runtime.diagram.core.commands.DeleteCommand; import org.eclipse.gmf.runtime.emf.commands.core.command.CompositeTr...
apache-2.0
vergnes/spring-social-weibo
src/main/java/org/springframework/social/weibo/api/impl/json/TrendsWrapperMixin.java
1429
/* * Copyright 2011 France Telecom R&D Beijing Co., 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 * * Unl...
apache-2.0
timstoner/stackexchangeimporter
src/main/java/com/example/stackexchange/util/SiteUtils.java
504
package com.example.stackexchange.util; import java.nio.file.Path; import java.nio.file.Paths; public class SiteUtils { private static String siteName; public static String getSiteName(String dir) { if (siteName == null) { Path path = Paths.get(dir); Path parent = path.getParent(); Path name = parent....
apache-2.0
weiwenqiang/GitHub
MVP/BookReader-master/app/src/main/java/com/justwayward/reader/ui/fragment/FindFragment.java
3463
/** * Copyright 2016 JustWayward Team * <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 applicable law...
apache-2.0
oehme/analysing-gradle-performance
my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p281/Production5628.java
1891
package org.gradle.test.performance.mediummonolithicjavaproject.p281; public class Production5628 { private String property0; public String getProperty0() { return property0; } public void setProperty0(String value) { property0 = value; } private String property1; ...
apache-2.0
ruspl-afed/dbeaver
plugins/org.jkiss.dbeaver.ext.mysql/src/org/jkiss/dbeaver/ext/mysql/tools/MySQLScriptExecuteWizard.java
3895
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2017 Serge Rider (serge@jkiss.org) * Copyright (C) 2011-2012 Eugene Fradkin (eugene.fradkin@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...
apache-2.0
skekre98/apex-mlhr
library/src/test/java/com/datatorrent/lib/script/JavaScriptOperatorTest.java
2038
/** * 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
nobdy/mybatis-plus
mybatis-plus/src/test/java/com/baomidou/mybatisplus/test/plugins/paginationInterceptor/PaginationInterceptorTest.java
3569
package com.baomidou.mybatisplus.test.plugins.paginationInterceptor; import java.io.Reader; import java.sql.Connection; import java.util.List; import org.apache.ibatis.io.Resources; import org.apache.ibatis.jdbc.ScriptRunner; import org.apache.ibatis.session.RowBounds; import org.apache.ibatis.session.SqlSession; imp...
apache-2.0
mountain-pass/hyperstate
hyperstate-core/src/main/java/au/com/mountainpass/hyperstate/core/Link.java
3050
package au.com.mountainpass.hyperstate.core; import java.util.Map; import java.util.concurrent.CompletableFuture; import org.eclipse.jdt.annotation.Nullable; import org.springframework.core.ParameterizedTypeReference; import org.springframework.http.MediaType; import com.fasterxml.jackson.annotation.JsonIgnore; impo...
apache-2.0
yiding-he/redisfx
src/main/java/com/hyd/redisfx/RedisFxApp.java
1099
package com.hyd.redisfx; import com.hyd.fx.Fxml; import com.hyd.fx.app.AppLogo; import com.hyd.fx.app.AppPrimaryStage; import com.hyd.redisfx.fx.BackgroundExecutor; import com.hyd.redisfx.i18n.I18n; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Sc...
apache-2.0
mattdelsordo/Rate-A-Dog
app/src/main/java/com/mdelsordo/rate_a_dog/util/BitmapHelper.java
3767
package com.mdelsordo.rate_a_dog.util; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Rect; import android.net.Uri; import android.util.Log; import android.widget.Toast; import java.io.FileNotFoundException; import java.io.IOException; im...
apache-2.0
slipperyseal/B9
src/main/java/net/catchpole/B9/codec/transcoder/MapTranscoder.java
1451
package net.catchpole.B9.codec.transcoder; import net.catchpole.B9.codec.stream.BitInputStream; import net.catchpole.B9.codec.stream.BitOutputStream; import java.io.IOException; import java.util.HashMap; import java.util.Map; import java.util.Set; class MapTranscoder implements TypeTranscoder<Map>, FieldInterceptor<...
apache-2.0
machadolucas/watchout
src/main/java/com/riskvis/entity/Transports.java
3527
package com.riskvis.entity; // Generated May 12, 2014 11:45:38 PM by Hibernate Tools 4.0.0 import static javax.persistence.GenerationType.IDENTITY; import java.util.HashSet; import java.util.Set; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persi...
apache-2.0
sgasiewska/java_dla_testerow
mantis-tests/src/test/java/jdt/mantis/appmanager/HttpSession.java
2863
package jdt.mantis.appmanager; import org.apache.http.NameValuePair; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl.client....
apache-2.0
taoshujian/exampleJava
src/main/java/tsj/example/java/project/tsj/net/mindview/util/Print.java
683
//: net/mindview/util/Print.java // Print methods that can be used without // qualifiers, using Java SE5 static imports: package tsj.example.java.project.tsj.net.mindview.util; import java.io.*; public class Print { // Print with a newline: public static void print(Object obj) { System.out.println(obj); } ...
apache-2.0
GSSBuse/GSSB
src/main/java/com/thinkgem/jeesite/modules/sys/service/gbj/GbjUserSoldCommentsReplyService.java
1961
/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.sys.service.gbj; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.spr...
apache-2.0
syphr42/libmythtv-java
protocol/src/main/java/org/syphr/mythtv/protocol/impl/Command63QueryRemoteEncoderCancelNextRecording.java
1753
/* * Copyright 2011-2012 Gregory P. Moyer * * 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...
apache-2.0
kunickiaj/datacollector
hdfs-protolib/src/main/java/com/streamsets/pipeline/stage/destination/hdfs/HdfsTargetConfigBean.java
33768
/* * 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
jexp/idea2
platform/lang-impl/src/com/intellij/application/options/colors/OptionsPanelImpl.java
6502
/* * 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
nowshad-sust/ImageMatching-RGB
src/compare/FilePicker.java
2982
//simple GUI for the Matching program package compare; //importing requird libraries import java.awt.BorderLayout; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JFileChooser; ...
apache-2.0
machado-rev/htmlcoinj
core/src/main/java/com/bushstar/htmlcoinj/jni/NativeWalletEventListener.java
1933
/** * 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 ...
apache-2.0
ribeirux/jalphanode
core/src/main/java/org/jalphanode/scheduler/ScheduleIterator.java
1080
/** * Copyright 2011 Pedro Ribeiro * * 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
roncoo/roncoo-pay
roncoo-pay-service/src/main/java/com/roncoo/pay/reconciliation/service/impl/RpAccountCheckBatchServiceImpl.java
2174
/* * Copyright 2015-2102 RonCoo(http://www.roncoo.com) Group. * * 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...
apache-2.0
KleeGroup/vertigo-quarto
vertigo-quarto-api/src/main/java/io/vertigo/quarto/publisher/PublisherManager.java
1636
/** * vertigo - simple java starter * * Copyright (C) 2013-2017, KleeGroup, direction.technique@kleegroup.com (http://www.kleegroup.com) * KleeGroup, Centre d'affaire la Boursidiere - BP 159 - 92357 Le Plessis Robinson Cedex - France * * Licensed under the Apache License, Version 2.0 (the "License"); * you may n...
apache-2.0
multi-os-engine/moe-core
moe.apple/moe.platform.ios/src/main/java/apple/homekit/HMHomeManager.java
9411
/* Copyright 2014-2016 Intel Corporation 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, s...
apache-2.0
actuaryzhang/spark
common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/ExternalShuffleClient.java
7360
/* * 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
universum-studios/android_fragments
library-base/src/test/java/universum/studios/android/fragment/annotation/handler/BaseAnnotationHandlersTest.java
2753
/* * ************************************************************************************************* * Copyright 2016 Universum Studios * ************************************************************************************************* * Licensed under the Apache L...
apache-2.0
davidmoten/rtree
src/main/java/com/github/davidmoten/rtree/RTree.java
34613
package com.github.davidmoten.rtree; import static com.github.davidmoten.rtree.geometry.Geometries.rectangle; import static java.util.Optional.of; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Optional; import com.github.davidmoten.guav...
apache-2.0
stephraleigh/flowable-engine
modules/flowable-dmn-engine/src/main/java/org/flowable/dmn/engine/impl/cmd/ExecuteDecisionWithAuditTrailCmd.java
2903
/* 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 * distribut...
apache-2.0
enternoescape/opendct
src/main/java/opendct/tuning/discovery/DiscoveredDeviceParent.java
2882
/* * Copyright 2016 The OpenDCT Authors. 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...
apache-2.0