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
/* * 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 ...
milleruntime/accumulo
core/src/test/java/org/apache/accumulo/core/file/BloomFilterLayerLookupTest.java
Java
apache-2.0
5,732
/** * */ package org.crazyit.auction.client.util; import org.crazyit.auction.client.AuctionClientActivity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.DialogInterface.OnClickListener; import android.vie...
00wendi00/MyProject
W_eclipse1_2/AuctionClient/src/org/crazyit/auction/client/util/DialogUtil.java
Java
apache-2.0
1,524
/* * 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...
osinstom/onos
core/store/primitives/src/main/java/org/onosproject/store/primitives/resources/impl/AtomixWorkQueue.java
Java
apache-2.0
8,304
/* * Copyright (C) 2014 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...
goinstant/dagger
compiler/src/main/java/dagger2/internal/codegen/MapKeyValidator.java
Java
apache-2.0
1,307
// PathVisio, // a tool for data visualization and analysis using Biological Pathways // Copyright 2006-2011 BiGCaT Bioinformatics // // 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 // // ht...
wikipathways/org.wikipathways.client
wp-client/src/org/wikipathways/client/WikiPathwaysClient.java
Java
apache-2.0
13,662
// 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.intellij.lang.ant.config.explorer; import com.intellij.ide.util.treeView.AbstractTreeStructure; import com.intellij.ide.util.treeView.NodeDescriptor; import com.intel...
leafclick/intellij-community
plugins/ant/src/com/intellij/lang/ant/config/explorer/AntExplorerTreeStructure.java
Java
apache-2.0
5,411
/* * Copyright 2014-2016 See AUTHORS file. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
piotr-j/VisEditor
editor/src/main/java/com/kotcrab/vis/editor/util/vis/PrettyEnumNameProvider.java
Java
apache-2.0
972
package org.o2i2b2.utils; import java.io.*; public class LogHelper { Exception exception = null; public LogHelper () {} public LogHelper (Exception exception) { this.exception = exception; } public String toString () { return stack2string(exception); } public String stack2string() { return stack2s...
stephenlorenz/o2i2b2
src/main/java/org/o2i2b2/utils/LogHelper.java
Java
apache-2.0
626
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
dagnir/aws-sdk-java
aws-java-sdk-api-gateway/src/main/java/com/amazonaws/services/apigateway/model/transform/DocumentationVersionJsonUnmarshaller.java
Java
apache-2.0
3,306
/* * 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 ...
afiantara/apache-wicket-1.5.7
src/wicket-util/src/main/java/org/apache/wicket/util/LongEncoder.java
Java
apache-2.0
3,259
package com.devin.client.mysise.model.parse; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import com.devin.client.mysise.model.base.WebBody; import com.devin.client.mysise.model.bean.Encourage; import com.devin.client.mysise.model.bean.Encourages; import com.devin...
DevinShuFan/mysise
app/src/main/java/com/devin/client/mysise/model/parse/ParseEncouragePunish.java
Java
apache-2.0
1,396
/** * OLAT - Online Learning and Training<br> * http://www.olat.org * <p> * Licensed under the Apache License, Version 2.0 (the "License"); <br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unl...
stevenhva/InfoLearn_OpenOLAT
src/main/java/org/olat/core/commons/services/tagging/ui/TaggingController.java
Java
apache-2.0
2,017
/** * Copyright (c) 2013-2021 Nikita Koksharov * * 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...
redisson/redisson
redisson/src/main/java/org/redisson/liveobject/core/RObjectInterceptor.java
Java
apache-2.0
1,403
package com.ts.service.information.attachedmx; import java.util.List; import com.ts.entity.Page; import com.ts.util.PageData; /** * 说明: 明细表接口 * 创建人: * 创建时间:2016-04-17 * @version */ public interface AttachedMxManager{ /**新增 * @param pd * @throws Exception */ public void save(PageData...
ljcservice/autumnprogram
src/main/java/com/ts/service/information/attachedmx/AttachedMxManager.java
Java
apache-2.0
1,254
/* * Copyright 2015 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 applica...
naroate/androidtv-sample-inputs
app/src/main/java/com/example/android/sampletvinput/simple/SimpleTvInputService.java
Java
apache-2.0
7,181
/* * Copyright 2013 Goran Ehrsson. * * 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...
goeh/grails-crm-core
src/java/grails/plugins/crm/core/Pair.java
Java
apache-2.0
1,843
package com.waka.workspace.wakapedometer.weather; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.support.design.widget.Snackbar; import android.support.v4.widget.SwipeRefreshLayout; import android.support.v7.app.AppCompatActivity; import an...
BadWaka/WakaPedometer
app/src/main/java/com/waka/workspace/wakapedometer/weather/WeatherActivity.java
Java
apache-2.0
19,506
/* * 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 General Public License as published by * the Free Software Foundatio...
HuangLS/neo4j
community/kernel/src/test/java/org/neo4j/kernel/impl/util/ConvertersTest.java
Java
apache-2.0
2,020
// Copyright 2017 The Bazel 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 appl...
petroseskinder/migration-tooling
generate_workspace/src/test/java/com/google/devtools/build/workspace/output/BzlWriterTest.java
Java
apache-2.0
3,400
/* * 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 ...
smanvi-pivotal/geode
geode-core/src/main/java/org/apache/geode/cache/client/internal/ServerProxy.java
Java
apache-2.0
2,156
/* * Copyright 2022 Red Hat * * 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 ...
michpetrov/hal.next
ballroom/src/main/java/org/jboss/hal/ballroom/chart/Api.java
Java
apache-2.0
892
package dev.jinkim.snappollandroid.imgur; import android.content.Context; import android.content.SharedPreferences; import android.text.TextUtils; import android.util.Log; import org.apache.http.NameValuePair; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.message.BasicNameValuePair...
jinkim608/SnapPoll
SnapPollAndroidClient/app/src/main/java/dev/jinkim/snappollandroid/imgur/ImgurAuthorization.java
Java
apache-2.0
6,167
package de.otto.rx.composer.content; import static de.otto.rx.composer.content.Headers.emptyHeaders; /** * Static Content that may be used as fallback content. */ public class StaticTextContent extends SingleContent { private final String source; private final String text; private final Position positio...
gsteinacker/rx-composer
composer-core/src/main/java/de/otto/rx/composer/content/StaticTextContent.java
Java
apache-2.0
1,901
/* * Copyright 2000-2013 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...
leafclick/intellij-community
platform/util/src/com/intellij/util/containers/FList.java
Java
apache-2.0
4,095
/* * Copyright (c) 2017 Aniket Divekar * * 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...
Codigami/pinterest4j
src/main/java/pinterest4j/config/Configuration.java
Java
apache-2.0
991
package egovframework.com.cop.smt.sdm.service; import java.util.List; import java.util.Map; import egovframework.com.cmm.ComDefaultVO; /** * 부서일정관리를 처리하는 Service Class 구현 * @author 공통서비스 장동한 * @since 2009.04.10 * @version 1.0 * @see * * <pre> * << 개정이력(Modification Information) >> * * 수...
dasomel/egovframework
common-component/v2.3.2/src/main/java/egovframework/com/cop/smt/sdm/service/EgovDeptSchdulManageService.java
Java
apache-2.0
2,497
package com.communote.plugins.api.rest.resource.validation; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * @author Communote GmbH - <a href="http://www.communote.com/">http://www.communote.com/</a> */ public class ValidationHelper {...
Communote/communote-server
communote/plugins/rest-api/1.3/implementation/src/main/java/com/communote/plugins/api/rest/resource/validation/ValidationHelper.java
Java
apache-2.0
2,475
package com.bn.picpanel; import javax.swing.JFrame; import com.bn.picpanel.JAddPicPanel; public class JAddPicFrame extends JFrame { /** * */ private static final long serialVersionUID = 1L; JAddPicPanel jpic; public JAddPicFrame() { jpic=new JAddPicPanel(); this.setTitle("Ìí¼ÓͼƬ"); this.add(j...
roubofenyong/bnmusic1
Mymusic/src/com/bn/picpanel/JAddPicFrame.java
Java
apache-2.0
392
package com.sfl.pms.api.internal.facade.order.impl; import com.sfl.pms.api.internal.facade.test.AbstractFacadeUnitTest; import com.sfl.pms.core.api.internal.model.common.result.ErrorType; import com.sfl.pms.core.api.internal.model.common.result.ResultResponseModel; import com.sfl.pms.core.api.internal.model.customer.C...
sflpro/ms_payment
api/api_internal/api_internal_facade/src/test/java/com/sfl/pms/api/internal/facade/order/impl/OrderPaymentFacadeImplTest.java
Java
apache-2.0
19,460
/* * Copyright 2014 - 2017 Cognizant Technology Solutions * * 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...
CognizantQAHub/Cognizant-Intelligent-Test-Scripter
ExtensionConnect/src/main/java/com/cognizant/cognizantits/extension/logger/LogUtil.java
Java
apache-2.0
1,762
/******************************************************************************* * (c) Copyright 2017 Hewlett-Packard Development Company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * T...
robert-sandor/cs-actions
cs-vmware/src/main/java/io/cloudslang/content/vmware/entities/http/HttpInputs.java
Java
apache-2.0
2,895
/* * Autopsy Forensic Browser * * Copyright 2011-2017 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> 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...
narfindustries/autopsy
Core/src/org/sleuthkit/autopsy/directorytree/DirectoryTreeFilterNode.java
Java
apache-2.0
7,184
/* * Copyright 2000-2014 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...
ernestp/consulo
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesCache.java
Java
apache-2.0
43,213
package org.datavec.api.transform.schema.conversion; import org.datavec.api.writable.Writable; public class TypeConversion { private static TypeConversion SINGLETON = new TypeConversion(); private TypeConversion() {} public static TypeConversion getInstance() { return SINGLETON; } publ...
deeplearning4j/DataVec
datavec-api/src/main/java/org/datavec/api/transform/schema/conversion/TypeConversion.java
Java
apache-2.0
2,462
/* * Copyright 2013 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/Pedometer
src/main/java/de/j4velin/pedometer/SensorListener.java
Java
apache-2.0
10,492
/* * 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...
trasa/aws-sdk-java
aws-java-sdk-datapipeline/src/main/java/com/amazonaws/services/datapipeline/model/Selector.java
Java
apache-2.0
6,176
// // 이 파일은 JAXB(JavaTM Architecture for XML Binding) 참조 구현 2.2.6 버전을 통해 생성되었습니다. // <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>를 참조하십시오. // 이 파일을 수정하면 소스 스키마를 재컴파일할 때 수정 사항이 손실됩니다. // 생성 날짜: 2012.09.05 시간 05:10:33 PM KST // package com.athena.chameleon.engine.entity.xml.webapp...
OpenSourceConsulting/athena-chameleon
src/main/java/com/athena/chameleon/engine/entity/xml/webapp/v2_3/Listener.java
Java
apache-2.0
2,334
/* * Copyright © 2013-2018 camunda services GmbH and various authors (info@camunda.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
xasx/camunda-bpm-platform
engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/spi/impl/MockedProcessEngineProvider.java
Java
apache-2.0
5,092
/* * 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")...
mike10004/appengine-imaging
gaecompat-awt-imaging/src/awt/com/google/code/appengine/awt/Stroke.java
Java
apache-2.0
1,061
/******************************************************************************* * Copyright (c) 2015-2018 Skymind, Inc. * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * *...
deeplearning4j/deeplearning4j
deeplearning4j/deeplearning4j-nlp-parent/deeplearning4j-nlp/src/main/java/org/deeplearning4j/text/movingwindow/ContextLabelRetriever.java
Java
apache-2.0
5,049
package com.shadow.repository; import com.shadow.domain.User; import org.springframework.stereotype.Repository; import java.util.List; /** * Created by qq65827 on 2015/1/26. */ @Repository public interface UserRepository extends MyCustomRepository<User,Long> { public User findByUsername(String username); ...
kidmonster/GraduationProject
src/main/java/com/shadow/repository/UserRepository.java
Java
apache-2.0
355
package fr.inra.maiage.bibliome.alvisnlp.bibliomefactory.modules.pubannotation; import java.util.Iterator; import fr.inra.maiage.bibliome.alvisnlp.bibliomefactory.converters.expression.parser.ExpressionParser; import fr.inra.maiage.bibliome.alvisnlp.bibliomefactory.modules.DefaultExpressions; import fr.inra.maiage.bi...
Bibliome/alvisnlp
alvisnlp-bibliome/src/main/java/fr/inra/maiage/bibliome/alvisnlp/bibliomefactory/modules/pubannotation/RelationSpecification.java
Java
apache-2.0
3,786
/** * Copyright 2015 Confluent 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 ...
cotedm/kafka-connect-jdbc
src/main/java/io/confluent/connect/jdbc/source/DataConverter.java
Java
apache-2.0
15,870
/* * Copyright 1&1 Internet AG, https://github.com/1and1/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
mlhartme/stool
src/main/java/net/oneandone/stool/cli/command/Config.java
Java
apache-2.0
4,196
/* * Copyright 2011-2014, by Vladimir Kostyukov and Contributors. * * This file is part of la4j project (http://la4j.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 * * htt...
fernandoj92/mvca-parkinson
ltm-analysis/src/main/java/org/la4j/io/MatrixIterator.java
Java
apache-2.0
1,858
/* * Copyright (c) 2010-2018 Stardog Union. <https://stardog.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 a...
Complexible/stardog-examples
examples/api/main/src/com/complexible/stardog/examples/api/ProvSkosExample.java
Java
apache-2.0
7,161
package cn.bingoogolapple.refreshlayout.demo.ui.fragment; import android.os.AsyncTask; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.TextView; import cn.bingoogolapple.refreshlayout.BGARefreshLayout; import cn.bingoogolapple.refreshlayout.demo.R; import cn.bingoogo...
snmlm/MyObject
GRTT/demo/src/main/java/cn/bingoogolapple/refreshlayout/demo/ui/fragment/StickyNavScrollViewFragment.java
Java
apache-2.0
3,157
/* * Copyright 2000-2014 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...
vaadin/grid-renderers-collection-addon
grid-renderers-collection-addon/src/main/java/org/vaadin/grid/cellrenderers/client/editoraware/CheckboxRendererConnector.java
Java
apache-2.0
4,670
package org.libsmith.anvil.reflection; import javax.annotation.Nonnull; import java.lang.reflect.*; import java.util.ArrayDeque; import java.util.Deque; /** * http://habrahabr.ru/blogs/java/66593/ и немного модифицировано * * @author Dmitriy Balakin <dmitriy.balakin@0x0000.ru> * @created 20.03.16 5:06 */ public ...
libsmith/libanvil
src/main/java/org/libsmith/anvil/reflection/GenericReflection.java
Java
apache-2.0
10,140
package org.set4j.objects; import junit.framework.Assert; import org.junit.After; import org.junit.Test; import org.set4j.Initializer; /** * @author Tomas Mikenda * */ public class TestModuleTreeFields { @Test public void testCreated() { WithFields_Main main = new WithFields_Main(); main.sub1 = new WithFie...
let-thomas/set4j
src/test/java/org/set4j/objects/TestModuleTreeFields.java
Java
apache-2.0
1,287
/** * 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 ...
jbertram/activemq-artemis-old
artemis-core-client/src/main/java/org/apache/activemq/artemis/spi/core/remoting/package-info.java
Java
apache-2.0
857
package ru.job4j.trackerapp.start; import java.util.Scanner; /** * ConsoleInput. * * @author Alexey Cheremisin. * @version $Id$. * @since 0.1. */ public class ConsoleInput implements Input { /** * Настройка считывания пользовательского ввода. */ private Scanner scanner = new Scanner(System.in); /** * Реал...
acheremisin/acheremisin
chapter_002/src/main/java/ru/job4j/trackerapp/start/ConsoleInput.java
Java
apache-2.0
1,287
/* Copyright 2002-2003 The Apache Software 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 applica...
Uni-Sol/batik
sources/org/apache/batik/css/engine/SVGCSSEngine.java
Java
apache-2.0
15,600
/* * 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 ...
adamjshook/accumulo
test/src/test/java/org/apache/accumulo/test/functional/ReadWriteIT.java
Java
apache-2.0
22,281
package com.venturocket.api.client.listing.object; import org.codehaus.jackson.JsonGenerator; import org.codehaus.jackson.JsonProcessingException; import org.codehaus.jackson.map.JsonSerializer; import org.codehaus.jackson.map.SerializerProvider; import java.io.IOException; /** * User: Joe Linn * Date: 1/5/14 * T...
Venturocket/venturocket-api-java
src/main/java/com/venturocket/api/client/listing/object/EnumSerializer.java
Java
apache-2.0
609
public class Manager implements IManager { private Airport mAirport; public Manager(Airport mAirport) { super(); this.mAirport = mAirport; } @Override public void addFlight(Flight pFlight) { mAirport.addFlight(pFlight); } @Override public void changeState(long idFlight, State pState) ...
RakickayaKaterina/Java-training
task3/4/src/Manager.java
Java
apache-2.0
909
package org.mockserver.matchers; import org.mockserver.model.HttpRequest; /** * @author jamesdbloom */ public interface Matcher<T> { boolean matches(HttpRequest context, T t); }
jamesdbloom/mockserver
mockserver-core/src/main/java/org/mockserver/matchers/Matcher.java
Java
apache-2.0
188
/* * Copyright 2000-2016 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...
leafclick/intellij-community
platform/lang-impl/src/com/intellij/ide/fileTemplates/FileTemplateManager.java
Java
apache-2.0
5,499
/** * Copyright 2013 Netherlands eScience Center * * 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...
CerielJacobs/Constellation
src/test/java/ibis/constellation/impl/pool/FakeIbisIdentifier.java
Java
apache-2.0
2,148
package com.examw.collector.domain; import java.io.Serializable; import java.util.Date; /** * 定时器的更新记录 * @author fengwei. * @since 2014年7月28日 上午10:15:14. */ public class UpdateLog implements Serializable { private static final long serialVersionUID = 1L; private String id,name; private Integer type; private D...
jeasonyoung/examw-collector
src/main/java/com/examw/collector/domain/UpdateLog.java
Java
apache-2.0
1,597
/* -------------------------------------------------------------------------- */ /* Copyright 2002-2007 GridWay Team, Distributed Systems Architecture */ /* Group, Universidad Complutense de Madrid */ /* ...
oldpatricka/Gridway
src/drmaa/drmaa1.0/org/ggf/drmaa/JobTemplate.java
Java
apache-2.0
25,608
package io.fabric8.openshift.api.model.tuned.v1; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.fasterxml.jackson.annotation.JsonAnyGetter; import com.fasterxml.jackson.annotation.JsonAnySetter; import com.fasterxml.jackson.annotation.JsonIgnore; import c...
fabric8io/kubernetes-client
kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TunedMatch.java
Java
apache-2.0
4,218
package test.issues.strava; import javastrava.model.StravaStream; import javastrava.model.reference.StravaStreamType; /** * <p> * These tests should PASS if issue <a href="https://github.com/danshannon/javastravav3api/issues/21">javastrava-api #21</a> is still current * </p> * * @author Dan Shannon * @see <a hr...
danshannon/javastrava-test
src/test/java/test/issues/strava/Issue21.java
Java
apache-2.0
1,006
package com.learning.designpattern.j2ee.businessdelegate.service; public class EJBService implements BusinessService { @Override public void doProcessing() { System.out.println("Processing task by invoking EJB Service"); } }
mandheer/learnjava
learn/tutorial/designpatterns/src/test/java/com/learning/designpattern/j2ee/businessdelegate/service/EJBService.java
Java
apache-2.0
246
/* * 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 no...
Union-Investment/Crud2Go
eai-portal-domain-crudportlet/src/main/java/de/unioninvestment/eai/portal/portlet/crud/domain/support/map/ValueTransformer.java
Java
apache-2.0
1,150
/* * Copyright 1999-2011 Alibaba 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 appl...
delavior/dubbo
dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/ReferenceConfig.java
Java
apache-2.0
21,186
package com.xxr.utils; import java.awt.Image; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import javax.swing.ImageIcon; import com.sun.image.codec.jpeg.JPEGCodec; import com.sun.image.codec.jpeg.JPEGEncodeParam; import com.sun.ima...
FrankXiong/web_album
src/com/xxr/utils/ImageUtil.java
Java
apache-2.0
1,137
// 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.execution.scratch; import com.intellij.debugger.DebuggerManager; import com.intellij.debugger.engine.DebugProcess; import com.intellij.debugger.engine.DebugP...
leafclick/intellij-community
java/execution/impl/src/com/intellij/execution/scratch/JavaScratchConfiguration.java
Java
apache-2.0
6,017
package racoon.rsim.monitors; import racoon.input.DOObjective; import racoon.input.DesignObjectives; import racoon.rsim.RSProtocol; /** * Define classes that allows to measure the value of a custom {@link DOObjective} * for a given {@link RSProtocol}. * * @author Guido Lena Cota <guido.lena@unimi.it> */ public ...
glenacota/racoon
racoon-src/src/racoon/rsim/monitors/DOMonitor.java
Java
apache-2.0
2,801
/* * Copyright 2012 International Business Machines Corp. * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. Licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except in compliance * with the License. You ...
mminella/jsr-352-ri-tck
JSR352.Annotations/src/javax/batch/annotation/OnProcessError.java
Java
apache-2.0
1,055
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
maboelhassan/alluxio
core/server/worker/src/main/java/alluxio/worker/block/DefaultBlockWorker.java
Java
apache-2.0
21,585
/** * 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...
alexryndin/ambari
ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertDefinitionFactory.java
Java
apache-2.0
12,241
/* * Copyright 2018 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 ...
spinnaker/rosco
rosco-core/src/main/groovy/com/netflix/spinnaker/rosco/services/ServiceConfig.java
Java
apache-2.0
2,415
package com.androsz.electricsleepbeta.app; import android.app.ProgressDialog; import android.content.Context; import android.os.AsyncTask; import android.widget.Toast; import com.androsz.electricsleepbeta.R; import com.androsz.electricsleepbeta.db.SleepSession; public class DeleteSleepTask extends AsyncTask<Long, Vo...
jondwillis/ElectricSleep
src/com/androsz/electricsleepbeta/app/DeleteSleepTask.java
Java
apache-2.0
2,078
/* * 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...
vrkansagara/elasticsearch
src/test/java/org/elasticsearch/index/analysis/WordDelimiterTokenFilterFactoryTests.java
Java
apache-2.0
10,241
package com.sarality.app.view.list; import android.util.Log; import android.util.SparseArray; import android.view.View; /** * Cache of elements inside a ListView row. * <p> * Makes it more efficient to set data on the view rather than do a lookupById * each time. * * @author abhideep@ (Abhideep Singh) */ publ...
sarality/appblocks
src/main/java/com/sarality/app/view/list/ListRowViewCache.java
Java
apache-2.0
2,003
// Copyright 2000-2020 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.uiDesigner.binding; import com.intellij.lang.properties.IProperty; import com.intellij.lang.properties.psi.PropertiesFile; import com.intellij.lang.propertie...
leafclick/intellij-community
plugins/ui-designer/src/com/intellij/uiDesigner/binding/FormReferencesSearcher.java
Java
apache-2.0
12,535
/* * Copyright [2017] [Andy Moncsek] * * 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 agree...
amoAHCP/vxms
vxms-testing/src/test/java/org/jacpfx/entity/decoder/ExampleByteDecoder.java
Java
apache-2.0
940
package com.bright_side_it.fliesenui.base.model; import java.util.List; import com.bright_side_it.fliesenui.dto.model.DTODefinition; import com.bright_side_it.fliesenui.project.model.AssistValue; import com.bright_side_it.fliesenui.project.model.Project; import com.bright_side_it.fliesenui.project.model.ResourceDefin...
FliesenUI/FliesenUI
src/com/bright_side_it/fliesenui/base/model/AssistValueList.java
Java
apache-2.0
794
// Copyright 2000-2020 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.compiler.server; import com.intellij.compiler.CompilerMessageImpl; import com.intellij.compiler.ProblemsView; import com.intellij.compiler.impl.CompileDriver...
leafclick/intellij-community
java/compiler/impl/src/com/intellij/compiler/server/AutoMakeMessageHandler.java
Java
apache-2.0
8,799
/* * Copyright 2017 Young Digital Planet S.A. * * 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...
YoungDigitalPlanet/empiria.player
src/main/java/eu/ydp/empiria/player/client/controller/extensions/internal/modules/LinkModuleConnectorExtension.java
Java
apache-2.0
2,143
// 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.intellij.remote; import com.google.common.base.Joiner; import com.google.common.collect.Lists; import com.intellij.util.AbstractPathMapper; import com.intellij.util.A...
leafclick/intellij-community
platform/platform-impl/src/com/intellij/remote/RemoteProcessUtil.java
Java
apache-2.0
1,582
package ca.uhn.fhir.jpa.dao.data; import ca.uhn.fhir.jpa.model.entity.ResourceTable; import ca.uhn.fhir.jpa.model.entity.SearchParamPresent; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; impo...
SingingTree/hapi-fhir
hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/data/ISearchParamPresentDao.java
Java
apache-2.0
1,455
package it.unibz.inf.ontop.protege.panels; /* * #%L * ontop-protege4 * %% * Copyright (C) 2009 - 2013 KRDB Research Centre. Free University of Bozen Bolzano. * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtai...
srapisarda/ontop
ontop-protege/src/main/java/it/unibz/inf/ontop/protege/panels/SavedQueriesPanel.java
Java
apache-2.0
16,188
// 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 org.editorconfig.configmanagement.extended; import com.intellij.application.options.CodeStyle; import com.intellij.application.options.codeStyle.properties.*; import com....
leafclick/intellij-community
plugins/editorconfig/src/org/editorconfig/configmanagement/extended/IntellijConfigOptionDescriptorProvider.java
Java
apache-2.0
4,255
package com.crawler.autowereld; import java.io.File; import java.io.FileNotFoundException; import com.crawler.autowereld.export.CrawlerExportException; import com.crawler.autowereld.export.serialization.SerializationException; public class Main { public static void main(String[] args) { try { checkAndDoExport...
tomasz-galuszka/HttpCrawlers
autowereld/AutoWereldOfferrsCrawler/src/com/crawler/autowereld/Main.java
Java
apache-2.0
1,265
package com.jiakaiyang.androider.web.bbs.base; import com.google.gson.Gson; import com.jiakaiyang.androider.web.common.convert.JsonConverter; import spark.ResponseTransformer; import java.util.Map; /** * 把返回值处理成json格式的字符串 */ public class JsonTransformer implements ResponseTransformer { @Override public S...
kaiyangjia/androider-web
bbs/src/main/java/com/jiakaiyang/androider/web/bbs/base/JsonTransformer.java
Java
artistic-2.0
602
package org.mapfish.print.config.access; import org.json.JSONException; import org.json.JSONObject; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; /** * Class for marshalling and unmarshalling AccessAssertionObjects to and from JSON. */ public f...
Galigeo/mapfish-print
core/src/main/java/org/mapfish/print/config/access/AccessAssertionPersister.java
Java
bsd-2-clause
2,159
/** * pims-web org.pimslims.presentation LabBookEntryDAO.java * * @author Marc Savitsky * @date 8 Sep 2008 * * Protein Information Management System * @version: 2.2 * * Copyright (c) 2008 Marc Savitsky The copyright holder has licenced the STFC to redistribute this software */ package org.pimsli...
homiak/pims-lims
src/presentation/org/pimslims/presentation/LabBookEntryDAO.java
Java
bsd-2-clause
2,350
package org.javafunk.funk.predicates; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.javafunk.funk.functors.Predicate; /** * {@code InstanceOfPredicate} is a {@code Predicate} implementation that * is constructed with a {@code Class} instan...
javafunk/funk
funk-core/src/main/java/org/javafunk/funk/predicates/InstanceOfPredicate.java
Java
bsd-2-clause
2,911
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package dae.prefabs.standard; import com.jme3.scene.Node; import com.jme3.scene.Spatial; import dae.animation.rig.PrefabPlaceHolderCallback; import dae.prefabs.Prefab; /** * This prefab is a place holder that can be ...
samynk/DArtE
src/dae/prefabs/standard/PrefabPlaceHolder.java
Java
bsd-2-clause
2,572
/** * anothergltry - Another GL try * Copyright (c) 2015, Matej Kormuth <http://www.github.com/dobrakmato> * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source ...
dobrakmato/jge
src/main/java/eu/matejkormuth/jge/scripting/BaseScript.java
Java
bsd-2-clause
1,696
package tinker.net.dongliu.apk.parser.struct.resource; /** * used by resource Type. * * @author dongliu */ public class ResTableConfig { private byte[] array; // Number of bytes in this structure. uint32_t private int size; // Mobile country code (from SIM). 0 means "any". uint16_t private sh...
shwenzhang/apk-parser
apk-parser-lib/src/main/java/tinker/net/dongliu/apk/parser/struct/resource/ResTableConfig.java
Java
bsd-2-clause
5,544
package org.hisrc.jsonix.analysis; import org.apache.commons.lang3.Validate; import org.jvnet.jaxb2_commons.xml.bind.model.MBuiltinLeafInfo; import org.jvnet.jaxb2_commons.xml.bind.model.MClassInfo; import org.jvnet.jaxb2_commons.xml.bind.model.MClassRef; import org.jvnet.jaxb2_commons.xml.bind.model.MEnumLeafInfo; im...
highsource/jsonix-schema-compiler
compiler/src/main/java/org/hisrc/jsonix/analysis/TypeInfoGraphBuilder.java
Java
bsd-2-clause
5,652
package org.laladev.moneyjinn.server.controller.report; import java.sql.Date; import java.time.LocalDate; import java.time.Month; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import javax.inject.Inject; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeEach; i...
OlliL/moneyjinn-server
moneyjinn-server/src/test/java/org/laladev/moneyjinn/server/controller/report/ShowTrendsGraphTest.java
Java
bsd-2-clause
12,714
package com.agiledropzone.batchtester; import java.io.IOException; import com.agiledropzone.batchtester.tools.ScenarioSyntaxException; /** * Classe de lancement de BatchTester. <br> * */ public class BatchTester { private static String syntaxe = "Syntaxe d'appel :\njava -jar batchtester.jar <Nom...
AgileDropZone/batchtester
src/com/agiledropzone/batchtester/BatchTester.java
Java
bsd-2-clause
1,134
/* * Copyright (c) 2004-2010, Kohsuke Kawaguchi * 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, this list of...
stapler/stapler
core/src/main/java/org/kohsuke/stapler/Header.java
Java
bsd-2-clause
2,817
package sim.net; public class BrokenLinkException extends RoutingException { /** * @param string */ public BrokenLinkException(String string) { super(string); } }
bramp/p2psim
src/sim/net/BrokenLinkException.java
Java
bsd-2-clause
185
package de.pfabulist.lindwurm.eighty; import de.pfabulist.lindwurm.eighty.path.EightyPath; import de.pfabulist.lindwurm.eighty.watch.WatchableByteChannel; import javax.annotation.Nullable; import java.io.IOException; import java.nio.channels.FileChannel; import java.nio.channels.SeekableByteChannel; import java.nio.f...
openCage/eightyfs
src/main/java/de/pfabulist/lindwurm/eighty/ProviderChannel.java
Java
bsd-2-clause
6,742
package br.odb.minefield.commands; import br.odb.gameapp.ConsoleApplication; import br.odb.gameapp.UserCommandLineAction; public class ClearCommand extends UserCommandLineAction { @Override public String getHelp() { return null; } @Override public int requiredOperands() { return 2; } @Override public...
TheFakeMontyOnTheRun/deep-space-minefield
minefield-core-java/src/main/java/br/odb/minefield/commands/ClearCommand.java
Java
bsd-2-clause
457