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 |
|---|---|---|---|---|---|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jdisc.http.filter;
import com.yahoo.jdisc.Container;
import com.yahoo.jdisc.handler.ResponseHandler;
import com.yahoo.jdisc.http.HttpRequest;
import com.yahoo.jdisc.http.filter.chain.EmptyRequestF... | vespa-engine/vespa | container-core/src/test/java/com/yahoo/jdisc/http/filter/EmptyRequestFilterTestCase.java | Java | apache-2.0 | 2,134 |
package se.ejp.traci.model.material.pigment;
import se.ejp.traci.math.Transformation;
import se.ejp.traci.math.Vector;
import se.ejp.traci.model.Color;
import se.ejp.traci.model.material.MaterialColor;
import se.ejp.traci.util.WeakCache;
public class Solid extends Pigment
{
private static final WeakCache<Solid> c... | erikpe/traci | src/se/ejp/traci/model/material/pigment/Solid.java | Java | apache-2.0 | 1,709 |
/*
* 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")... | webos21/xi | java/jcl/src/java/java/util/spi/LocaleNameProvider.java | Java | apache-2.0 | 2,886 |
/*******************************************************************************
* Copyright 2014 United States Government as represented by the
* Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... | nasa/OpenSPIFe | gov.nasa.ensemble.emf/src-test/gov/nasa/ensemble/emf/AllEMFTests.java | Java | apache-2.0 | 1,683 |
package com.designdemo.uaha;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.design.widget.BottomSheetBehavior;
import android.support.v4.app.ActivityOptions... | MaTriXy/android-historian | app/src/main/java/com/designdemo/uaha/ProductListFragment.java | Java | apache-2.0 | 11,851 |
package com.novbank.ndp.core.helper.empty;
import com.novbank.ndp.core.Constants;
import com.novbank.ndp.core.record.other.Property;
import com.novbank.ndp.core.record.other.PropertyContainer;
import java.util.NoSuchElementException;
/**
* Created by hp on 2015/6/1.
*/
public class EmptyProperty<V> implements Prop... | hitakaken/ndp | ndp-core/src/main/java/com/novbank/ndp/core/helper/empty/EmptyProperty.java | Java | apache-2.0 | 1,312 |
/**
*Copyright 2012-2013.All Rights Reserved
*/
package org.pretty.common.utils;
/**
* Html 操作相关的工具
* @author <a href="mailto:lazy_p@163.com">lazyp</a>
* @version 2013-10-15
*/
public final class HtmlUtils {
/**
* 移除htmlTag
* @param html
* @return
*/
public static String removeHtmlTag... | lazyp/pretty-common | pretty-common-utils/src/main/java/org/pretty/common/utils/HtmlUtils.java | Java | apache-2.0 | 503 |
package ${package};
public class OutputObject {
private String result;
private String requestId;
public String getResult() {
return result;
}
public String getRequestId() {
return requestId;
}
public OutputObject setResult(String result) {
this.result = result;
... | quarkusio/quarkus | extensions/amazon-lambda/maven-archetype/src/main/resources/archetype-resources/src/main/java/OutputObject.java | Java | apache-2.0 | 470 |
package org.jtheque.views.impl;
/*
* Copyright JTheque (Baptiste Wicht)
*
* 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
*
*... | wichtounet/jtheque-core | jtheque-views/src/main/java/org/jtheque/views/impl/MainController.java | Java | apache-2.0 | 2,634 |
package io.leopard.data4j.cache.api;
import java.util.Date;
/**
* 恢复删除接口.
*
* @author 阿海
*
* @param <BEAN>
* 返回值类型:如User、Article、Comment等
*
* @param <KEYTYPE>
* 主键类型:如Integer、Long、String等
*/
public interface IUnDelete<BEAN, KEYTYPE> extends IDelete<BEAN, KEYTYPE> {
... | tanhaichao/leopard-data | leopard-cache/src/main/java/io/leopard/data4j/cache/api/IUnDelete.java | Java | apache-2.0 | 712 |
/*******************************************************************************
*
* Copyright (C) 2015-2022 the BBoxDB 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 Licens... | jnidzwetzki/bboxdb | bboxdb-commons/src/test/java/org/bboxdb/TestListHelper.java | Java | apache-2.0 | 4,297 |
/*
* Copyright (C) 2016 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.measure.fx;
import com.opengamma.strata.basics.currency.CurrencyAmount;
import com.opengamma.strata.basics.currency.FxRate;
import com.opengamma.strata.b... | OpenGamma/Strata | modules/measure/src/main/java/com/opengamma/strata/measure/fx/FxNdfTradeCalculations.java | Java | apache-2.0 | 12,660 |
package com.dl7.mvp.adapter;
import android.content.Context;
import android.view.View;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.ImageView;
import com.dl7.mvp.R;
import com.dl7.mvp.local.table.VideoInfo;
import com.dl7.mvp.module.video.fullscreen.VideoFullscreenActivi... | weiwenqiang/GitHub | MVP/MvpApp-master/app/src/main/java/com/dl7/mvp/adapter/VideoCompleteAdapter.java | Java | apache-2.0 | 2,801 |
// ElevatorShaft.java
// Represents elevator shaft, which contains elevator
package com.deitel.jhtp5.elevator.model;
// Java core packages
import java.util.*;
// Deitel packages
import com.deitel.jhtp5.elevator.event.*;
public class ElevatorShaft implements ElevatorMoveListener,
LightListener, BellListener {
... | xgqfrms/JavaWeb | x/src/com/deitel/jhtp5/elevator/model/ElevatorShaft.java | Java | apache-2.0 | 9,326 |
package com.czg.admin.dao;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import com.czg.admin.domain.Duty;
@Repository
public interface DutyRepository extends JpaRepository<Duty,String> {
}
| dazhou600/muliee | src/main/java/com/czg/admin/dao/DutyRepository.java | Java | apache-2.0 | 259 |
/*
* Copyright 2010-2015 Allette Systems (Australia)
* http://www.allette.com.au
*
* 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
*
* U... | pageseeder/diffx | src/main/java/org/pageseeder/diffx/token/impl/CharactersToken.java | Java | apache-2.0 | 1,480 |
package org.g4.certificate.handler;
import org.g4.certificate.facade.CertLogger;
import org.g4.certificate.utilities.CertUtil;
import org.g4.certificate.utilities.ExceptionUtils;
import org.g4.certificate.utilities.FileUtil;
import org.g4.certificate.utilities.ParameterType;
import javax.net.ssl.*;
import java.io.Fil... | lizwjiang/cgv | cgv-core/src/main/java/org/g4/certificate/handler/SSLSocketHandler.java | Java | apache-2.0 | 5,738 |
package app.bennsandoval.com.woodmin.sync;
import android.accounts.Account;
import android.accounts.AccountManager;
import android.content.AbstractThreadedSyncAdapter;
import android.content.ContentProviderClient;
import android.content.ContentResolver;
import android.content.ContentUris;
import android.content.Conten... | HarryMMR/Woodmin | app/src/main/java/app/bennsandoval/com/woodmin/sync/WoodminSyncAdapter.java | Java | apache-2.0 | 37,921 |
package ru.sash0k.bluetooth_terminal.activity;
import android.annotation.SuppressLint;
import android.app.ActionBar;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.SharedPreferences;
import android.database.Cursor;
import android.graphics.Color;
i... | alirustamov/Adiutor | bluetooth-spp-terminal/src/main/java/ru/sash0k/bluetooth_terminal/activity/Contacts.java | Java | apache-2.0 | 8,468 |
package org.pentaho.big.data.kettle.plugins.job;
import org.pentaho.di.core.variables.VariableSpace;
import java.util.Map;
/**
* User: RFellows Date: 6/7/12
*/
public class JobEntryUtils {
/**
* @return {@code true} if {@link Boolean#parseBoolean(String)} returns {@code true} for
* {@link #i... | pentaho/big-data-plugin | kettle-plugins/common/job/src/main/java/org/pentaho/big/data/kettle/plugins/job/JobEntryUtils.java | Java | apache-2.0 | 1,622 |
package ru.stqa.pft.addressbook;
import org.openqa.selenium.By;
import org.openqa.selenium.NoAlertPresentException;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.firefox.FirefoxOptions;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import java.ut... | kalinmarina50/java_pft | addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/TestBase.java | Java | apache-2.0 | 2,818 |
package cam.base.exception;
public class ArrayTextureException extends Exception
{
private static final long serialVersionUID = -1422825338643245314L;
public ArrayTextureException()
{
super();
}
public ArrayTextureException(String message)
{
super(message);
}
}
| Zenzoken/Continuity | ConcurrentSaving/src/cam/base/exception/ArrayTextureException.java | Java | apache-2.0 | 294 |
/**
* Copyright (c) 2008-2014, http://www.snakeyaml.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/licenses/LICENSE-2.0
*
* Unless required by appl... | PRECISE/ROSLab | lib/snakeyaml-src/src/test/java/org/yaml/snakeyaml/immutable/Point2.java | Java | apache-2.0 | 1,241 |
/*
* 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... | googleapis/google-api-java-client-services | clients/google-api-services-videointelligence/v1p1beta1/1.31.0/com/google/api/services/videointelligence/v1p1beta1/model/GoogleCloudVideointelligenceV1beta2LabelAnnotation.java | Java | apache-2.0 | 5,988 |
package water.fvec;
import org.junit.Assert;
import org.junit.Test;
import water.TestUtil;
import java.util.Arrays;
import java.util.Iterator;
public class C1ChunkTest extends TestUtil {
@Test
public void test_inflate_impl() {
for (int l=0; l<2; ++l) {
NewChunk nc = new NewChunk(null, 0);
int[] v... | woobe/h2o | src/test/java/water/fvec/C1ChunkTest.java | Java | apache-2.0 | 2,088 |
package com.koch.ambeth.stream.binary;
/*-
* #%L
* jambeth-stream
* %%
* Copyright (C) 2017 Koch Softwaredevelopment
* %%
* 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.apa... | Dennis-Koch/ambeth | jambeth/jambeth-stream/src/main/java/com/koch/ambeth/stream/binary/InputStreamToBinaryInputStream.java | Java | apache-2.0 | 1,245 |
/*
* 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 ... | sshcherbakov/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/AbstractRegion.java | Java | apache-2.0 | 68,716 |
/*
* Copyright 2004 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 applicable la... | libofeng/JspGrid | extreme-components/src/main/java/org/extremecomponents/table/cell/DateCell.java | Java | apache-2.0 | 1,408 |
package com.reucon.commons.web.exception.storage;
import java.io.IOException;
import java.io.OutputStream;
import java.io.Writer;
public interface ExceptionStorageEntry
{
public abstract String location();
public abstract Writer exceptionMetadataWriter() throws IOException;
public abstract OutputStream ex... | reucon/reucon-commons | src/main/java/com/reucon/commons/web/exception/storage/ExceptionStorageEntry.java | Java | apache-2.0 | 376 |
/*
* State
*
* Authors: Lasse Collin <lasse.collin@tukaani.org>
* Igor Pavlov <http://7-zip.org/>
*
* This file has been put into the public domain.
* You can do whatever you want with this file.
*/
package org.tukaani.xz.lzma;
final class State {
static final int STATES = 12;
private static... | Modinstallermaker/MinecraftModinstaller | src/org/tukaani/xz/lzma/State.java | Java | apache-2.0 | 1,497 |
/*
* Copyright 2015 Adaptris 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 agree... | mcwarman/interlok | adapter/src/test/java/com/adaptris/ftp/test/TestCommonsNetFtpSsl.java | Java | apache-2.0 | 2,897 |
/*
* Copyright 2017, OpenSkywalking Organization 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... | zhangkewei/sky-walking | apm-collector/apm-collector-agent-jetty/collector-agent-jetty-provider/src/main/java/org/skywalking/apm/collector/agent/jetty/handler/reader/SpanJsonReader.java | Java | apache-2.0 | 4,531 |
/*
* 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 ... | yew1eb/flink | flink-streaming-java/src/test/java/org/apache/flink/streaming/api/functions/sink/filesystem/BucketsTest.java | Java | apache-2.0 | 3,817 |
package io.renren.service.impl;
import io.renren.dao.CzitClassDao;
import io.renren.dao.CzitStudentDao;
import io.renren.entity.CzitClassEntity;
import io.renren.entity.CzitStudentEntity;
import io.renren.service.CzitStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframew... | neckhyg/dataChart | renren-web/src/main/java/io/renren/service/impl/CzitStudentServiceImpl.java | Java | apache-2.0 | 1,922 |
package com.gaoyy.delivery4res.util;
import android.content.Context;
import android.support.v4.app.FragmentActivity;
import com.gaoyy.delivery4res.base.CustomDialogFragment;
import java.lang.ref.WeakReference;
public class DialogUtils
{
/**
* 显示loading框
* @param context
* @return
*/
publ... | gaoyuyu/Delivery4Res | app/src/main/java/com/gaoyy/delivery4res/util/DialogUtils.java | Java | apache-2.0 | 2,289 |
/*
* SPDX-FileCopyrightText: 2019, microG Project Team
* SPDX-License-Identifier: Apache-2.0
*/
package org.microg.nlp.location.v3;
public class LocationService extends org.microg.nlp.location.v2.LocationService {
}
| microg/android_packages_apps_UnifiedNlp | location-v3/src/main/java/org/microg/nlp/location/v3/LocationService.java | Java | apache-2.0 | 221 |
package com.hejia.zxm.library.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import com.hejia.zxm.library.application.MyAp... | alferd0806/MyTestCode | library/src/main/java/com/hejia/zxm/library/activity/BaseActivity.java | Java | apache-2.0 | 3,241 |
/*
* Copyright (c) 2016-present, RxJava Contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | ReactiveX/RxJava | src/test/java/io/reactivex/rxjava3/internal/operators/flowable/FlowableConcatWithCompletableTest.java | Java | apache-2.0 | 4,029 |
/**
* Licensed to niosmtp developers ('niosmtp') under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* niosmtp licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not us... | normanmaurer/niosmtp | src/main/java/me/normanmaurer/niosmtp/delivery/chain/LMTPPostDataResponseCallback.java | Java | apache-2.0 | 2,633 |
package com.udaan.footballpuzzler.ui;
import com.udaan.footballpuzzler.ui.R;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.webkit.WebView;
import android.webkit.We... | anirus-udaan/footballpuzzler | src/com/udaan/footballpuzzler/ui/AboutActivity.java | Java | apache-2.0 | 2,076 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | punkhorn/camel-upstream | components/camel-aws-s3/src/test/java/org/apache/camel/component/aws/s3/S3ComponentListObjectsSpringTest.java | Java | apache-2.0 | 2,386 |
package co.paystack.android.ui;
import android.app.Activity;
import android.os.Bundle;
import android.view.WindowManager;
import co.paystack.android.R;
import co.paystack.android.design.widget.PinPadView;
public class OtpActivity extends Activity {
final OtpSingleton si = OtpSingleton.getInstance();
private... | PaystackHQ/paystack-android | paystack/src/main/java/co/paystack/android/ui/OtpActivity.java | Java | apache-2.0 | 2,211 |
package com.airic.fortel.core.calendar.util;
import java.io.Serializable;
/**
* The Class Lunar.
*/
public class Lunar implements Serializable {
/** The Constant serialVersionUID. */
private static final long serialVersionUID = 4986391064617411454L;
/** 年. */
private int year;
/** 月. */
pri... | airicyu/Fortel | fortelcore/src/main/java/com/airic/fortel/core/calendar/util/Lunar.java | Java | apache-2.0 | 4,164 |
/*
* 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 ... | dhutchis/accumulo | server/master/src/main/java/org/apache/accumulo/master/tableOps/RenameNamespace.java | Java | apache-2.0 | 3,636 |
package com.angkorteam.platform.bean;
import com.angkorteam.framework.jdbc.JoinType;
import com.angkorteam.framework.jdbc.SelectQuery;
import com.angkorteam.framework.spring.JdbcTemplate;
import com.angkorteam.platform.Platform;
import com.angkorteam.platform.Session;
import com.angkorteam.platform.model.PlatformPage;... | PkayJava/ECommerce | backoffice/src/main/java/com/angkorteam/platform/bean/AuthorizationStrategy.java | Java | apache-2.0 | 2,561 |
package io.fabianterhorst.fastlayout.converters;
import java.util.ArrayList;
import java.util.List;
/**
* Created by fabianterhorst on 18.05.16.
*/
public class LayoutConverters {
private List<LayoutConverter> converters;
public LayoutConverters() {
}
public void setAll(List<LayoutConverter> conv... | FabianTerhorst/FastLayout | fastlayout-converters/src/main/java/io/fabianterhorst/fastlayout/converters/LayoutConverters.java | Java | apache-2.0 | 2,988 |
package com.example.listview.entity;
/**
* Created by zhu_lin on 2017/2/27.
*/
public class News {
private int newsImgId;
private String newsTitle;
private String newsFrom;
private String newsCommCount;
public News(int newsImgId, String newsTitle, String newsFrom, String newsCommCount){
... | zhulin183/AndroidNatureView | ListView/src/main/java/com/example/listview/entity/News.java | Java | apache-2.0 | 1,125 |
/*
* 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 ... | ElyxorCorp/wink-json4j | src/test/java/org/apache/wink/json4j/tests/utils/StringUtils.java | Java | apache-2.0 | 1,517 |
/*
* Copyright (C) 2013 salesforce.com, 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 ... | igor-sfdc/aura | aura-impl/src/test/java/org/auraframework/impl/layouts/LayoutItemsUITest.java | Java | apache-2.0 | 4,287 |
package jforgame.common.utils;
/**
* 两个对象组合起来的点对,一般用于需要返回两个返回值的方法
* @author kinson
*/
public class Pair<F, S> {
private final F first;
private final S second;
public Pair(F first, S second) {
this.first = first;
this.second = second;
}
public F getFirst() {
return first;
}
public S getSecond() {
... | kingston-csj/jforgame | jforgame-common/src/main/java/jforgame/common/utils/Pair.java | Java | apache-2.0 | 504 |
/*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | consulo/consulo | modules/boot/container-impl/src/main/java/consulo/container/impl/parser/PluginDependency.java | Java | apache-2.0 | 843 |
/*
* 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... | consulo/consulo-java | java-debugger-impl/src/main/java/com/intellij/debugger/actions/MethodSmartStepTarget.java | Java | apache-2.0 | 1,676 |
/*
* @(#)SyncOrgInfo.java
*
* Copyright @ 2001-2012 SANY Group Co.,Ltd.
* All right reserved.
*
* 这个软件是属于三一集团有限公司机密的和私有信息,不得泄露。
* 并且只能由三一集团有限公司内部员工在得到许可的情况下才允许使用。
* This software is the confidential and proprietary information
* of SANY Group Co, Ltd. You shall not disclose such
* Confidential Information a... | tzou24/BPS | BPS/src/com/sany/masterdata/hr/sync/SyncJobInfo.java | Java | apache-2.0 | 9,906 |
package com.gradle.exportapi.model;
import java.time.Duration;
import java.time.Instant;
public class Timer {
private Instant startTime;
private Instant finishTime;
private String timeZoneId;
public Instant getStartTime() {
return startTime;
}
public void setStartTime(Instant start... | vydra/ge-export | src/main/java/com/gradle/exportapi/model/Timer.java | Java | apache-2.0 | 1,156 |
/**
* 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 m... | fatfredyy/wss4j-ecc | src/main/java/org/apache/ws/security/saml/ext/bean/ConditionsBean.java | Java | apache-2.0 | 5,079 |
/*
* 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... | troels/nz-presto | presto-main/src/main/java/com/facebook/presto/execution/SqlQueryExecution.java | Java | apache-2.0 | 26,381 |
/*
* Copyright 2021, Yurii Serhiichuk
*
* 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... | xSAVIKx/openweathermap-java-api | api-query/src/main/java/org/openweathermap/api/query/uvi/current/ByGeographicCoordinatesBuilder.java | Java | apache-2.0 | 1,269 |
/*
* Copyright (c) 2020, Peter Abeles. All Rights Reserved.
*
* This file is part of BoofCV (http://boofcv.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.apac... | lessthanoptimal/BoofCV | main/boofcv-geo/src/test/java/boofcv/abst/geo/bundle/TestScaleSceneStructure.java | Java | apache-2.0 | 9,719 |
package liquibase.util;
import liquibase.exception.UnexpectedLiquibaseException;
import liquibase.statement.DatabaseFunction;
import liquibase.statement.SequenceCurrentValueFunction;
import liquibase.statement.SequenceNextValueFunction;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Meth... | fossamagna/liquibase | liquibase-core/src/main/java/liquibase/util/ObjectUtil.java | Java | apache-2.0 | 17,655 |
/*
* Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | aws/aws-sdk-java | aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/transform/DescribeSnapshotsResultStaxUnmarshaller.java | Java | apache-2.0 | 2,983 |
package jdbc;
import java.sql.*;
public class Main {
public static void main(String[] args) throws SQLException {
String url = "jdbc:mysql://192.168.0.100:3306/csvDB?zeroDateTimeBehavior=convertToNull";
ResultSet rs = null;
Statement statement = null;
Connection connection = null;
try {
co... | kogupta/scala-playground | src/main/java/jdbc/Main.java | Java | apache-2.0 | 809 |
/*
* 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... | joel-costigliola/assertj-core | src/test/java/org/assertj/core/api/booleanarray/BooleanArrayAssert_hasSizeBetween_Test.java | Java | apache-2.0 | 1,150 |
package org.docksidestage.sqlserver.dbflute.exentity.customize;
import org.docksidestage.sqlserver.dbflute.bsentity.customize.BsSimpleTableFunction;
/**
* The entity of SimpleTableFunction.
* <p>
* You can implement your original methods here.
* This class remains when re-generating.
* </p>
* @author ... | dbflute-test/dbflute-test-dbms-sqlserver | src/main/java/org/docksidestage/sqlserver/dbflute/exentity/customize/SimpleTableFunction.java | Java | apache-2.0 | 516 |
/*
* Copyright 2015 Ritesh Kapoor
*
* 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... | gershnik-smartsheet/review-board-idea-plugin | src/com/ritesh/idea/plugin/reviewboard/ReviewDataProvider.java | Java | apache-2.0 | 12,430 |
/*
* Copyright 2016-present Open Networking Laboratory
*
* 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... | y-higuchi/onos | apps/optical-model/src/main/java/org/onosproject/net/optical/intent/impl/compiler/OpticalOduIntentCompiler.java | Java | apache-2.0 | 16,393 |
package io.fabric8.kubernetes.api.model.authentication;
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;
i... | fabric8io/kubernetes-client | kubernetes-model-generator/kubernetes-model-admissionregistration/src/generated/java/io/fabric8/kubernetes/api/model/authentication/UserInfo.java | Java | apache-2.0 | 4,510 |
/*
* Copyright 2014-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... | mread/buck | test/com/facebook/buck/shell/GenruleDescriptionTest.java | Java | apache-2.0 | 2,670 |
/**
* 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/hadoop-mapreduce | src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamUtil.java | Java | apache-2.0 | 14,250 |
/*
* Waltz - Enterprise Architecture
* Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project
* See README.md for more information
*
* 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 ... | kamransaleem/waltz | waltz-model/src/main/java/com/khartec/waltz/model/measurable_rating/SaveMeasurableRatingCommand.java | Java | apache-2.0 | 1,396 |
/*
* Copyright 2014-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... | sdnwiselab/onos | providers/openflow/flow/src/main/java/org/onosproject/provider/of/flow/impl/OpenFlowRuleProvider.java | Java | apache-2.0 | 30,004 |
package com.orientechnologies.orient.distributed.impl.metadata;
import com.orientechnologies.orient.core.db.config.ONodeIdentity;
import com.orientechnologies.orient.distributed.impl.log.OLogId;
import java.util.Optional;
public class OElectionReply {
private final ONodeIdentity sender;
private final Optional<OLo... | orientechnologies/orientdb | distributed-v2/src/main/java/com/orientechnologies/orient/distributed/impl/metadata/OElectionReply.java | Java | apache-2.0 | 566 |
/*
* Copyright (c) 2001-2013 David Soergel <dev@davidsoergel.com>
* Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*/
package com.davidsoergel.dsutils.collections;
import org.jetbrains.annotations.Nullable;
import java.io.Serializable;
/**
* @author <a href="mailt... | davidsoergel/dsutils | src/main/java/com/davidsoergel/dsutils/collections/SerializableOrderedPair.java | Java | apache-2.0 | 635 |
/*
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.product.swap.type;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.Period;
import java.util.Map;
import java.util.NoSuchElement... | OpenGamma/Strata | modules/product/src/main/java/com/opengamma/strata/product/swap/type/ThreeLegBasisSwapTemplate.java | Java | apache-2.0 | 16,853 |
/*
* 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/incubator-asterixdb | hyracks-fullstack/algebricks/algebricks-core/src/main/java/org/apache/hyracks/algebricks/core/algebra/prettyprint/LogicalOperatorPrettyPrintVisitorJson.java | Java | apache-2.0 | 43,964 |
/*
* Copyright 2014 Guidewire Software, Inc.
*/
package gw.internal.gosu.ir.transform.statement;
import gw.internal.gosu.parser.statements.ReturnStatement;
import gw.internal.gosu.ir.transform.ExpressionTransformer;
import gw.internal.gosu.ir.transform.TopLevelTransformationContext;
import gw.lang.ir.IRStatement;
i... | gosu-lang/gosu-lang | gosu-core/src/main/java/gw/internal/gosu/ir/transform/statement/ReturnStatementTransformer.java | Java | apache-2.0 | 3,914 |
/*
* Copyright 2009-2014 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
*
* Unles... | huitutu/mybatis-3 | src/main/java/org/apache/ibatis/builder/MapperBuilderAssistant.java | Java | apache-2.0 | 19,272 |
/*******************************************************************************
* Copyright 2016, 2017 vanilladb.org contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | vanilladb/vanillacore | src/main/java/org/vanilladb/core/sql/SchemaIncompatibleException.java | Java | apache-2.0 | 1,176 |
/*
* Copyright (C) 2017 Maximilian Pawlidi
*
* 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... | pawlidim/jVinDecoder | src/main/java/de/pawlidi/jvindecoder/model/VehicleDescriptorSection.java | Java | apache-2.0 | 4,247 |
package org.drip.product.params;
/*
* -*- mode: java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
*/
/*!
* Copyright (C) 2017 Lakshmi Krishnamurthy
* Copyright (C) 2016 Lakshmi Krishnamurthy
* Copyright (C) 2015 Lakshmi Krishnamurthy
* Copyright (C) 2014 Lakshmi Krishnamurthy
* Copyright (C) 20... | lakshmiDRIP/DRIP | src/main/java/org/drip/product/params/CDXIdentifier.java | Java | apache-2.0 | 4,623 |
/* Copyright 2015 Mikołaj Olszewski
*
* 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... | mikus/SimpleDataParser | src/main/java/net/mikus/assignment/sdp/node/NodeFactory.java | Java | apache-2.0 | 2,475 |
/**
* Copyright 2012 JRuyi.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/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | hyang04/jruyi | cmd/src/main/java/org/jruyi/cmd/internal/RuyiCmd.java | Java | apache-2.0 | 4,915 |
package org.gradle.test.performance.mediummonolithicjavaproject.p122;
import org.junit.Test;
import static org.junit.Assert.*;
public class Test2449 {
Production2449 objectUnderTest = new Production2449();
@Test
public void testProperty0() {
String value = "value";
objectUnderTest.... | oehme/analysing-gradle-performance | my-app/src/test/java/org/gradle/test/performance/mediummonolithicjavaproject/p122/Test2449.java | Java | apache-2.0 | 2,111 |
/*
* Copyright 2019 ThoughtWorks, 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 agr... | naveenbhaskar/gocd | server/src/main/java/com/thoughtworks/go/server/service/MaterialExpansionService.java | Java | apache-2.0 | 6,286 |
package org.cucina.core.spring;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import ... | cucina/opencucina | core/src/main/java/org/cucina/core/spring/ProtocolResolver.java | Java | apache-2.0 | 3,428 |
package com.example.rehab_coachv1;
import android.app.Activity;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.os.Bundle;
/**
* The Main Activity.
* };
* This activity starts up the RegisterActivity immediately, which communicates
* w... | mboker/RehabCoachV5 | src/com/example/rehab_coachv1/MainActivity.java | Java | apache-2.0 | 1,765 |
package com.algaworks.brewer.model;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "estado")
public class Estado implements Serializable ... | EliasMG/brewer | src/main/java/com/algaworks/brewer/model/Estado.java | Java | apache-2.0 | 1,366 |
/*
* Copyright 2013 Friedrich Clausen <friedrich.clausen@blackboard.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
*
* Un... | ftclausen/WebdavBulkDeleter | src/main/java/com/blackboard/WebdavBulkDeleterClient.java | Java | apache-2.0 | 6,225 |
/*
* Copyright (c) 2005-2012, 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.o... | samgregoost/carbon-analytics | components/data-bridge/org.wso2.carbon.databridge.commons.thrift/src/main/java/org/wso2/carbon/databridge/commons/thrift/utils/HostAddressFinder.java | Java | apache-2.0 | 1,854 |
/* */ package com.chinachip.pageeffect;
/* */
/* */ import android.graphics.Bitmap;
/* */ import android.graphics.Canvas;
/* */ import android.graphics.ColorMatrix;
/* */ import android.graphics.ColorMatrixColorFilter;
/* */ import android.graphics.Matrix;
/* */ import android.g... | zoozooll/MyExercise | ThreeDimFlipper/com/chinachip/pageeffect/turnpage.java | Java | apache-2.0 | 34,582 |
/*
* Copyright 2013~2014 Dan Haywood
*
* 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... | isisaddons/isis-module-tags | dom/src/test/java/org/isisaddons/module/tags/dom/TagTest.java | Java | apache-2.0 | 5,087 |
/*
* Copyright 2014 Bernd Vogt and 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 required by applicable law or ... | sourcepit/common-utils | src/main/java/org/sourcepit/common/utils/zip/ZipInputStreamFactory.java | Java | apache-2.0 | 955 |
package com.wb.nextgenlibrary.fragment;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.wb.nextgenlibrary.R;
import com.wb.nextgenlibrary.data.MovieMetaData;
/**
* Created by gzcheng on 5/23/17.
*/
public class IMEDeletedSceneVideoFragment extends ECVideoViewFragment... | warnerbros/cpe-manifest-android-experience | src/com/wb/nextgenlibrary/fragment/IMEDeletedSceneVideoFragment.java | Java | apache-2.0 | 1,676 |
package com.woorea.openstack.cinder.model;
import com.fasterxml.jackson.annotation.JsonRootName;
import java.io.Serializable;
@JsonRootName("os-terminate_connection")
public class ConnectionForTerminate extends BaseConnection implements Serializable {
/*
* (non-Javadoc)
*
* @see java.lang.Object#... | woorea/openstack-java-sdk | cinder-model/src/main/java/com/woorea/openstack/cinder/model/ConnectionForTerminate.java | Java | apache-2.0 | 470 |
package org.hl7.fhir.instance.model.valuesets;
/*
Copyright (c) 2011+, HL7, Inc.
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 th... | Nodstuff/hapi-fhir | hapi-fhir-structures-hl7org-dstu2/src/main/java/org/hl7/fhir/instance/model/valuesets/VisionProductEnumFactory.java | Java | apache-2.0 | 2,431 |
package com.androideity.recyclerviewexample.utils;
/**
* Created by Condesa on 07/02/16.
*/
public class Constants {
public static final String JSON_FILE_NAME = "anime_winter_2016";
public static final String EXTRA_PARAM_ID = "anime_id";
public static final String EXTRA_PARAM_TITLE = "anime_title";
... | Androideity/AndroidStudioTutorials | RecyclerViewExample/app/src/main/java/com/androideity/recyclerviewexample/utils/Constants.java | Java | apache-2.0 | 384 |
/*
Copyright 2009-2019 Igor Polevoy
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, softwa... | javalite/activejdbc | activejdbc/src/main/java/org/javalite/activejdbc/cache/QueryCache.java | Java | apache-2.0 | 4,505 |
/*
* 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 ... | jffnothing/phoenix-4.0.0-incubating | phoenix-core/src/main/java/org/apache/phoenix/expression/aggregator/ServerAggregators.java | Java | apache-2.0 | 5,757 |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2017, Arnaud Roques
*
* Project Info: http://plantuml.com
*
* This file is part of PlantUML.
... | Banno/sbt-plantuml-plugin | src/main/java/net/sourceforge/plantuml/graphic/GraphicPosition.java | Java | apache-2.0 | 1,066 |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requ... | gravitee-io/gateway | gravitee-gateway-reactor/src/main/java/io/gravitee/gateway/reactor/handler/HandlerEntrypoint.java | Java | apache-2.0 | 954 |
package org.ubjson.io;
import java.io.IOException;
import junit.framework.Assert;
import org.junit.Test;
import org.ubjson.io.ByteArrayOutputStream;
public class ByteArrayOutputStreamTest {
@Test
public void testInitialCapacity() {
ByteArrayOutputStream out = new ByteArrayOutputStream();
Assert.a... | thebuzzmedia/universal-binary-json-java | src/test/java/org/ubjson/io/ByteArrayOutputStreamTest.java | Java | apache-2.0 | 1,391 |