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 |
|---|---|---|---|---|---|
/**
*
*/
/**
* @author wessl03
*
*/
package de.ne0.sonar.plsql.toolkit; | Ne0s/sonar-plsql | sslr-plsql-toolkit/src/main/java/de/ne0/sonar/plsql/toolkit/package-info.java | Java | apache-2.0 | 77 |
package org.zstack.storage.primary.smp;
import org.springframework.beans.factory.annotation.Autowire;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.transaction.annotation.Transactional;
import org.zstack... | newbiet/zstack | plugin/sharedMountPointPrimaryStorage/src/main/java/org/zstack/storage/primary/smp/SMPPrimaryStorageBase.java | Java | apache-2.0 | 22,156 |
/*
*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | wjc133/springfox | springfox-core/src/main/java/springfox/documentation/service/Documentation.java | Java | apache-2.0 | 2,540 |
/*
* Copyright (c) 2007,2011, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.net;
import java.security.AccessController;
/**
* This class defines a factory for creati... | wangsongpeng/jdk-src | src/main/java/java/net/DefaultDatagramSocketImplFactory.java | Java | apache-2.0 | 1,898 |
/*
* 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
* d... | OSEHRA/ISAAC | core/api/src/main/java/sh/isaac/api/DataSerializer.java | Java | apache-2.0 | 1,945 |
package org.cethos.tools.ninebatch.tasks.batch;
import org.cethos.tools.ninebatch.creation.NinePatchConfig;
import org.cethos.tools.ninebatch.creation.NinePatchCreation;
import org.cethos.tools.ninebatch.tasks.io.StreamConversionIO;
import org.cethos.tools.ninebatch.tasks.io.StreamProvider;
import org.slf4j.Logger;
im... | andresmanz/ninebatch | src/main/java/org/cethos/tools/ninebatch/tasks/batch/ConversionBatch.java | Java | apache-2.0 | 1,795 |
package com.rental.account.controller;
import static org.mockito.Mockito.when;
import static org.mockito.MockitoAnnotations.initMocks;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post;
import st... | MarcinU2K/media-rental-microservices | account-service/src/test/java/com/rental/account/controller/AccountControllerTest.java | Java | apache-2.0 | 4,245 |
package com.cyl.Service;
import java.util.ArrayList;
import java.util.List;
import com.cyl.IService.IUserGetMoneyLogService;
import com.cyl.bean.pojo.UserGetMoneyLog;
import com.cyl.dao.UserGetMoneyLogDAO;
import com.cyl.frame.common.Response;
import com.cyl.frame.common.StatusCode;
public class UserGetMo... | RyanCai/testsvn | JAVA/STaoBao/src/com/cyl/Service/UserGetMoneyLogService.java | Java | apache-2.0 | 3,474 |
package com.example.android_framework.net;
import java.io.UnsupportedEncodingException;
import java.util.HashMap;
import java.util.Map;
import com.android.volley.AuthFailureError;
import com.android.volley.DefaultRetryPolicy;
import com.android.volley.NetworkResponse;
import com.android.volley.ParseError;
import com.... | cxstone/android_framework | src/com/example/android_framework/net/BaseRequest.java | Java | apache-2.0 | 2,986 |
/*
* Copyright 2015 Lee Yik Jiun
*
* 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... | leeyikjiun/scf4j | scf4j-fastutil/src/main/java/sg/yikjiun/scf4j/map/FastUtilDoubleFloatMapAdapter.java | Java | apache-2.0 | 1,525 |
/*
* Copyright (c) 2015 PocketHub
*
* 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... | hufsm/PocketHub | app/src/main/java/com/github/pockethub/accounts/AccountUtils.java | Java | apache-2.0 | 12,551 |
/**
* Class Name : EgovMenuGov.java
* Description : 메뉴관리 Business Interface class
* Modification Information
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
* 2009.02.02 이 용 최초 생성
*
* @author 공통 서비스 개발팀 이 용
* @since 2009. 02. 0... | dasomel/egovframework | common-component/v2.3.2/src/main/java/egovframework/com/utl/sim/service/EgovMenuGov.java | Java | apache-2.0 | 3,090 |
/*
* 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 ... | CodeSmell/camel | components/camel-milo/src/main/java/org/apache/camel/component/milo/client/MiloClientConsumer.java | Java | apache-2.0 | 3,213 |
package com.jacksen.java.leetcode;
import java.util.HashSet;
/**
* 202. Happy Number
*
* @author jacksen
* @date 2016年5月9日11:20:44
*
*/
public class HappyNumber {
public static void main(String[] args) {
// System.out.println(12 / (int) 10.0);
System.out.println(isHappy2(7));
}
/**
* 递归做法 <br />
... | crazy1235/BaseJavaProject | BaseJavaProject/src/com/jacksen/java/leetcode/HappyNumber.java | Java | apache-2.0 | 1,327 |
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for DVSRollbackCapability complex type.
*
* <p>The following schema fragment specifies the expected content contain... | jdgwartney/vsphere-ws | java/JAXWS/samples/com/vmware/vim25/DVSRollbackCapability.java | Java | apache-2.0 | 1,335 |
/*
* Copyright (C) 2017 the original author or authors.
*
* This file is part of jBB Application Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*/
package org.jbb.lib.properties;
impor... | jbb-project/jbb | tech-services/jbb-lib-properties/src/test/java/org/jbb/lib/properties/PropertyAspectEnableTestConfig.java | Java | apache-2.0 | 1,503 |
package org.apache.onami.persist.test.transaction;
/*
* 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 ... | guicy/guice-jpa-persist | src/test/java/org/apache/onami/persist/test/transaction/NestedTransactionTest.java | Java | apache-2.0 | 23,141 |
/*
* 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 ... | googleapis/java-appengine-admin | proto-google-cloud-appengine-admin-v1/src/main/java/com/google/appengine/v1/AuthorizedDomain.java | Java | apache-2.0 | 25,325 |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2013 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... | mustafa421/zaproxy | src/org/zaproxy/zap/extension/sessions/ExtensionSessionManagement.java | Java | apache-2.0 | 7,190 |
/**
* 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/core/protocol/core/impl/wireformat/SessionContinuationMessage.java | Java | apache-2.0 | 3,164 |
/*
Copyright (c) 2014,2015 Ahome' Innovation Technologies. 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
Unl... | psiroky/dashbuilder | dashbuilder-client/dashbuilder-lienzo/dashbuilder-lienzo-core/src/main/java/com/ait/lienzo/client/core/event/IAttributesChangedBatcher.java | Java | apache-2.0 | 947 |
/*
* 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... | hazendaz/assertj-core | src/test/java/org/assertj/core/error/ShouldBeCanonicalPath_create_Test.java | Java | apache-2.0 | 1,541 |
/**
* 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");... | iproduct/reactive-demos-java-9 | completable-future-jaxrs-cdi-cxf/src/main/java/org/iproduct/demo/profiler/server/app/ProfilerApplication.java | Java | apache-2.0 | 1,963 |
/*
* 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-transfer/src/main/java/com/amazonaws/services/transfer/model/CustomStepStatus.java | Java | apache-2.0 | 1,790 |
/*
* 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 in w... | syntelos/gwtcc | src/com/google/gwt/dev/ExternalPermutationWorkerFactory.java | Java | apache-2.0 | 12,540 |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.josescalia.swingrss.gui;
import java.awt.BorderLayout;
import javax.swing.*;
import org.apache.log4j.Logger;
import org.josescalia.swingrss.gui.form.AboutForm;
import org.josescalia.swingrss.gui.form.LandFF... | josescalia/swing-rss-reader | rss-front-end/src/main/java/org/josescalia/swingrss/gui/MainApp.java | Java | apache-2.0 | 12,248 |
/*
* 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 ... | fhueske/flink | flink-table/flink-sql-parser/src/test/java/org/apache/flink/sql/parser/FlinkSqlParserImplTest.java | Java | apache-2.0 | 20,919 |
/*
* $Revision$
* $Date$
*
* Copyright (C) 1999-$year$ Jive Software. All rights reserved.
*
* This software is the proprietary information of Jive Software. Use is subject to license terms.
*/
package com.jivesoftware.os.tasmo.lib;
import com.jivesoftware.os.jive.utils.id.Id;
import com.jivesoftware.os.jive.ut... | jivesoftware/tasmo | code/com/jivesoftware/os/tasmo/tasmo-lib/src/test/java/com/jivesoftware/os/tasmo/lib/Refs2Test.java | Java | apache-2.0 | 5,196 |
package leetcode;
import leetcode.api.ListNode;
/**
* https://leetcode.com/problems/delete-node-in-a-linked-list
*/
public final class Problem237DeleteNodeInALinkedList {
// Time - O(1), Space - (1)
public void deleteNode(ListNode node) {
if (node == null) {
return;
}
no... | jaredsburrows/cs-interview-questions | java/src/main/java/leetcode/Problem237DeleteNodeInALinkedList.java | Java | apache-2.0 | 388 |
/*
* Copyright (C) 2017-2019 Dremio 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 l... | dremio/dremio-oss | sabot/kernel/src/main/java/com/dremio/exec/store/parquet/columnreaders/PageReader.java | Java | apache-2.0 | 18,225 |
package com.gps.sweeprobot.model.taskqueue.view.activity;
import android.graphics.BitmapFactory;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.gps.sweeprobot.R;
... | ZhouKanZ/SweepRobot | app/src/main/java/com/gps/sweeprobot/model/taskqueue/view/activity/TaskDetailActivity.java | Java | apache-2.0 | 3,572 |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 零售商信息
*
* @author auto create
* @since 1.0, 2016-10-26 17:43:42
*/
public class Retailer extends AlipayObject {
private static final long serialVersionUID = 8398487572824465324L;
/**
* ... | wendal/alipay-sdk | src/main/java/com/alipay/api/domain/Retailer.java | Java | apache-2.0 | 725 |
/*
* Copyright (c) 2017 Informatics Matters 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 ... | InformaticsMatters/squonk | components/common-camel/src/main/java/org/squonk/types/PDBFileHandler.java | Java | apache-2.0 | 946 |
package io.exponential.app.cars;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
@Repository
@Transactional
publi... | exponential-io/spring-boilerplate | src/main/java/io/exponential/app/cars/CarDaoPostgresql.java | Java | apache-2.0 | 570 |
/*
Copyright 2014 base2Services
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 w... | base2Services/kagura | shared/reporting-core/src/main/java/com/base2/kagura/core/storage/FileReportsProvider.java | Java | apache-2.0 | 3,659 |
package com.example.healthtrack;
import java.util.ArrayList;
import java.util.Random;
import com.jjoe64.graphview.GraphView;
import com.jjoe64.graphview.GraphView.LegendAlign;
import com.jjoe64.graphview.GraphViewSeries;
import com.jjoe64.graphview.LineGraphView;
import android.app.Activity;
import android.content.C... | icqrx/FallingDownDetection_SoftwareEngineering | HealthTrack/src/com/example/healthtrack/ContinuousWaves.java | Java | apache-2.0 | 12,988 |
package org.apereo.cas.web.flow;
import org.junit.platform.runner.JUnitPlatform;
import org.junit.platform.suite.api.SelectClasses;
import org.junit.runner.RunWith;
/**
* This is {@link GoogleAnalyticsAllTestsSuite}.
*
* @author Misagh Moayyed
* @since 6.1.0
*/
@SelectClasses({
CreateGoogleAnalyticsCookieAct... | leleuj/cas | support/cas-server-support-google-analytics/src/test/java/org/apereo/cas/web/flow/GoogleAnalyticsAllTestsSuite.java | Java | apache-2.0 | 516 |
package com.goodweather.android;
import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;
import org.junit.Test;
import org.junit.runner.RunWith;
import static org.junit.Assert.*;
/**
* Instrumentation test, which will execute on an Andr... | wangmuzhi/GoodWeather | app/src/androidTest/java/com/goodweather/android/ExampleInstrumentedTest.java | Java | apache-2.0 | 723 |
/*
* 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-batch/src/main/java/com/amazonaws/services/batch/model/transform/UntagResourceRequestMarshaller.java | Java | apache-2.0 | 2,330 |
/*
* 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-servicecatalog/src/main/java/com/amazonaws/services/servicecatalog/model/transform/DescribeProvisionedProductRequestProtocolMarshaller.java | Java | apache-2.0 | 2,888 |
import DBaccess;
import ArrayList;
public class Name {
String id;//identifier in the Database
Name[] definition;//properties that serve to define this name
//ex: Elephant: [Animal,Have Long Nose]
String expression(String language){
//expression of this name in a given language
}
public void readProperties(){... | Tunizoo/JavaNames | Name.java | Java | apache-2.0 | 3,026 |
/** @author Gergely Kota
ProgressEvents hold some info
*/
public class ProgressEvent
{
private final Progressable pr;
private final String action;
public ProgressEvent(Progressable p, String s)
{
pr = p;
action = s;
}
public Progressable getSource()
{
return pr;
}
public ... | sufex00/splat | ProgressEvent.java | Java | apache-2.0 | 371 |
package org.ovirt.engine.ui.webadmin.section.main.presenter.tab.disk;
import org.ovirt.engine.core.common.businessentities.Disk;
import org.ovirt.engine.core.common.businessentities.VmTemplate;
import org.ovirt.engine.ui.common.place.PlaceRequestFactory;
import org.ovirt.engine.ui.common.presenter.AbstractSubTabPresen... | halober/ovirt-engine | frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/presenter/tab/disk/SubTabDiskTemplatePresenter.java | Java | apache-2.0 | 2,832 |
/*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* 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 app... | mariofusco/drools | kie-pmml-new/kie-pmml-integration-tests/src/test/java/org/kie/pmml/models/regression/evaluator/RoundtripClassificationModelEvaluatorJobCatParameterizedTest.java | Java | apache-2.0 | 5,212 |
package ru.job4j.tracker;
/**
* Class BaseAction.
*
* @author Ekaterina Turka (ekaterina2rka@gmail.com)
* @version 1
* @since 02.12.2017
*/
public abstract class BaseAction implements UserAction {
/**
* Description of the action.
*/
private String name;
/**
* Key of the action.
*/... | eturka/eturka | chapter_002/src/main/java/ru/job4j/tracker/BaseAction.java | Java | apache-2.0 | 766 |
package urchin.model.permission;
import org.immutables.value.Value;
import java.util.Arrays;
@Value.Immutable
public abstract class AclPermission {
public static final String NONE = "-";
public static final String READ = "r";
public static final String WRITE = "w";
public static final String EXECUTE... | anhem/urchin | src/main/java/urchin/model/permission/AclPermission.java | Java | apache-2.0 | 960 |
/*
* Copyright (C) 2015 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 ... | mdvorsky/DataflowSME | src/main/java8/com/google/cloud/dataflow/tutorials/game/Exercise8.java | Java | apache-2.0 | 16,254 |
/* ###
* IP: GHIDRA
* REVIEWED: YES
*
* 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... | NationalSecurityAgency/ghidra | Ghidra/Framework/Generic/src/main/java/ghidra/util/classfinder/ClassExclusionFilter.java | Java | apache-2.0 | 1,047 |
// Copyright (c) 2017, Baidu.com, 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 required by applic... | lingbin/palo | fe/src/com/baidu/palo/PaloFe.java | Java | apache-2.0 | 4,053 |
/**
* Copyright 2014-2015 SHAF-WORK
*
* 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... | SHAF-WORK/shaf | library/src/test/java/org/shaf/lib/io/RemoveTest.java | Java | apache-2.0 | 2,255 |
/* ========================================================================
* 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/sequencediagram/graphic/Constraint.java | Java | apache-2.0 | 1,687 |
package com.newlight77.oneprofiles.service;
import java.util.List;
import com.newlight77.oneprofiles.model.Member;
public interface MemberService {
public Member findByEmail(String email);
public Member findByUsername(String username);
public List<Member> list();
public List<Member> find(Member member);
public... | oneprofiles/oneprofiles | server/api/src/main/java/com/newlight77/oneprofiles/service/MemberService.java | Java | apache-2.0 | 423 |
/*
* DownloadClient Geodateninfrastruktur Bayern
*
* (c) 2016 GSt. GDI-BY (gdi.bayern.de)
*
* 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/LICE... | Intevation/downloadclient | src/main/java/de/bayern/gdi/services/WFSMeta.java | Java | apache-2.0 | 14,925 |
/*
* Copyright (C) 2014 Eric Butler
*
* 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... | tapchat/tapchat-android | tapchat/src/main/java/com/tapchatapp/android/client/message/UserModeMessage.java | Java | apache-2.0 | 788 |
package com.ss.editor.ui.dialog;
import static com.ss.rlib.common.util.ObjectUtils.notNull;
import com.ss.editor.Messages;
import com.ss.editor.annotation.FxThread;
import com.ss.editor.annotation.FromAnyThread;
import com.ss.editor.ui.css.CssClasses;
import com.ss.rlib.fx.util.FXUtils;
import javafx.scene.control.But... | JavaSaBr/jME3-SpaceShift-Editor | src/main/java/com/ss/editor/ui/dialog/ConfirmDialog.java | Java | apache-2.0 | 3,387 |
/*
* Copyright 2002-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | spring-projects/spring-framework | spring-context/src/main/java/org/springframework/validation/beanvalidation/SpringConstraintValidatorFactory.java | Java | apache-2.0 | 2,362 |
// ============================================================================
// Copyright 2006-2012 Daniel W. Dyer
//
// 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
//
// h... | dwdyer/uncommons-maths | demo/src/java/main/org/uncommons/maths/demo/GaussianParametersPanel.java | Java | apache-2.0 | 2,010 |
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | logzio/camel | camel-core/src/test/java/org/apache/camel/component/file/FileComponentConfigurationAndDocumentationTest.java | Java | apache-2.0 | 2,235 |
/*
* 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 ... | astrapi69/wicket | wicket-auth-roles/src/main/java/org/apache/wicket/authroles/authentication/AuthenticatedWebSession.java | Java | apache-2.0 | 3,475 |
/*
* 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-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/CancelElasticsearchServiceSoftwareUpdateResult.java | Java | apache-2.0 | 4,477 |
/**
* Copyright 2015 David Karnok and Netflix, 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 l... | akarnokd/rxjava2-backport | src/test/java/hu/akarnokd/rxjava2/internal/operators/OperatorRetryWithPredicateTest.java | Java | apache-2.0 | 13,562 |
package com.chenlong.utils;
/**
* Created by chenlong on 2017/8/21.
*/
public interface Constants {
String add ="add";
String remove ="remove";
String up ="up";
String down ="down";
}
| kanhai001/cloud-nginx-file | src/main/java/com/chenlong/utils/Constants.java | Java | apache-2.0 | 209 |
package br.com.ericogr.tfs.teste;
import javafx.application.Application;
import static javafx.application.Application.launch;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class MainApp extends Application {
@Override
public void star... | ericogr/JavaTFSTest | src/main/java/br/com/ericogr/tfs/teste/MainApp.java | Java | apache-2.0 | 1,055 |
/*
* Copyright (c) 2015, Netherlands Forensic Institute
* All rights reserved.
*/
package org.raqet.iscsi;
import static com.javaforge.reifier.check.ArgumentChecker.argNotNull;
import static com.javaforge.reifier.check.ArgumentChecker.argNotNullAndNotEmpty;
public class TargetAddress {
private final String _p... | raqet/acquisition-server | src/org/raqet/iscsi/TargetAddress.java | Java | apache-2.0 | 1,745 |
package org.javers.core.metamodel.object;
import org.javers.core.metamodel.clazz.ValueObject;
import static org.javers.common.validation.Validate.argumentsAreNotNull;
/**
* ValueObject global unique identifier.
* <br> <br>
*
* Since ValueObjects doesn't have public Id,
* they are identified by <i>fragment path<... | dmmiller612/javers | javers-core/src/main/java/org/javers/core/metamodel/object/ValueObjectId.java | Java | apache-2.0 | 1,363 |
package com.google.api.ads.adwords.jaxws.v201406.video;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for VideoAdStatus.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType na... | nafae/developer | modules/adwords_appengine/src/main/java/com/google/api/ads/adwords/jaxws/v201406/video/VideoAdStatus.java | Java | apache-2.0 | 1,148 |
/*
* Copyright 2015 agwlvssainokuni
*
* 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 ... | agwlvssainokuni/sqlapp | foundation/main/java/cherry/foundation/type/querydsl/CustomH2Templates.java | Java | apache-2.0 | 1,146 |
/*
* #%L
* =====================================================
* _____ _ ____ _ _ _ _
* |_ _|_ __ _ _ ___| |_ / __ \| | | | ___ | | | |
* | | | '__| | | / __| __|/ / _` | |_| |/ __|| |_| |
* | | | | | |_| \__ \ |_| | (_| | _ |\__ \| _ |
* |_| |_| \__,_|___/... | trustathsh/visitmeta | common/src/main/java/de/hshannover/f4/trust/visitmeta/implementations/internal/InternalLink.java | Java | apache-2.0 | 3,634 |
/*
* Copyright 2015 The Closure Compiler 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... | selkhateeb/closure-compiler | test/com/google/javascript/jscomp/CheckJsDocTest.java | Java | apache-2.0 | 10,329 |
package de.philipphager.disclosure.feature.analyser.app.usecase;
import de.philipphager.disclosure.database.app.model.App;
import de.philipphager.disclosure.util.device.FileUtils;
import de.philipphager.disclosure.util.device.StorageProvider;
import java.io.File;
import javax.inject.Inject;
import rx.Observable;
publ... | philipphager/disclosure-android-app | app/src/main/java/de/philipphager/disclosure/feature/analyser/app/usecase/DeleteCompiledApk.java | Java | apache-2.0 | 1,010 |
/*
* Copyright 2010-2011 Nabeel Mukhtar
*
* 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... | shisoft/LinkedIn-J | core/src/main/java/com/google/code/linkedinapi/schema/xpp/RelatedConnectionsImpl.java | Java | apache-2.0 | 2,687 |
package com.anysoftkeyboard.quicktextkeys;
import android.content.Context;
import android.content.res.Resources;
import com.anysoftkeyboard.addons.AddOn;
import com.menny.android.anysoftkeyboard.R;
import java.util.Arrays;
import java.util.List;
public class HistoryQuickTextKey extends QuickTextKey {
private fin... | AnySoftKeyboard/AnySoftKeyboard | ime/app/src/main/java/com/anysoftkeyboard/quicktextkeys/HistoryQuickTextKey.java | Java | apache-2.0 | 2,708 |
/*
* Copyright 2014-2015 WebPipes 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 applic... | nlalevee/webpipes | webpipes-core/src/java/org/hibnet/webpipes/css/CssSpliter.java | Java | apache-2.0 | 1,709 |
package com.gl.order.client.sender;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHost;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.StatusLine;
import org.ap... | gavin2lee/dwss | order/order-client/src/main/java/com/gl/order/client/sender/HttpRemoteServer.java | Java | apache-2.0 | 2,957 |
/*
* Copyright (c) 2016-2021 VMware 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.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
*... | reactor/reactor-core | reactor-core/src/test/java/reactor/core/publisher/FluxSampleTest.java | Java | apache-2.0 | 7,961 |
package br.edu.utfpr.recominer.core.model;
/**
*
* @author Rodrigo T. Kuroda <rodrigokuroda at alunos.utfpr.edu.br>
*/
public class CochangeApriori {
private static final String SEPARATOR = ";";
private final File file;
private final File file2;
private final long fileIssues;
priv... | rodrigokuroda/recominer | recominer-core/src/main/java/br/edu/utfpr/recominer/core/model/CochangeApriori.java | Java | apache-2.0 | 9,216 |
/*
* Copyright 2014-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | jentfoo/aws-sdk-java | aws-java-sdk-managedblockchain/src/main/java/com/amazonaws/services/managedblockchain/model/NetworkFrameworkAttributes.java | Java | apache-2.0 | 4,640 |
package wang.raye.admin.model;
import lombok.Data;
import com.google.gson.Gson;
@Data
public class WebResult {
private static final int SUCCESSCODE = 1;
private static final String SUCCESS = "请求成功";
private static final int ERROR = 2;
private static final int NOAUTHORITY = 303;
private static final String NOAUT... | T5750/maven-archetype-templates | SpringBoot/springboot-others/springboot-easyadmin/src/main/java/wang/raye/admin/model/WebResult.java | Java | apache-2.0 | 2,608 |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.file.remote;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.ConfigurerStrategy;
import org.apache.camel.spi.GeneratedPropertyConfigurer;
import org.apache.camel.spi.PropertyConfigu... | mcollovati/camel | components/camel-ftp/src/generated/java/org/apache/camel/component/file/remote/SftpComponentConfigurer.java | Java | apache-2.0 | 2,707 |
package io.quarkus.hibernate.validator.runtime;
import org.hibernate.validator.metadata.BeanMetaDataClassNormalizer;
import io.quarkus.arc.Subclass;
/**
* In the case of a proxy generated by Arc, return the parent class.
* <br />
* This can have more than one level of hierarchy, in example:
* <ul>
* <li>When us... | quarkusio/quarkus | extensions/hibernate-validator/runtime/src/main/java/io/quarkus/hibernate/validator/runtime/ArcProxyBeanMetaDataClassNormalizer.java | Java | apache-2.0 | 828 |
package org.domeos.framework.api.biz.project.impl;
import org.domeos.framework.api.biz.base.BaseBiz;
import org.domeos.framework.api.biz.base.impl.BaseBizImpl;
import org.domeos.framework.api.biz.project.ProjectCollectionBiz;
import org.domeos.framework.api.mapper.domeos.project.ProjectCollectionMapper;
import org.dom... | domeos/server | src/main/java/org/domeos/framework/api/biz/project/impl/ProjectCollectionBizImpl.java | Java | apache-2.0 | 5,262 |
package gr.plushost.prototypeapp.tablefixheaders;
import java.util.Stack;
import android.view.View;
/**
* The Recycler facilitates reuse of views across layouts.
*
* @author Brais Gab�n (InQBarna)
*/
public class Recycler {
private Stack<View>[] views;
/**
* Constructor
*
* @param s... | lioutasb/CSCartApp | app/src/main/java/gr/plushost/prototypeapp/tablefixheaders/Recycler.java | Java | apache-2.0 | 1,339 |
public class hello{
public static void main(String [] args){
System.out.println("Hello,World!");
}
}
| sunjiali/helloworld | hello.java | Java | apache-2.0 | 110 |
/*
* Licensed to Crate.io GmbH ("Crate") under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership. Crate licenses
* this file to you under the Apache License, Version 2.0 (the "License");
* you may not use this f... | crate/crate | server/src/main/java/io/crate/expression/RowFilter.java | Java | apache-2.0 | 3,094 |
package com.wzlee.cwl.exceptions;
/**
* 系统业务异常
* @author lizhiwei
* @date 2013-6-30 10:20:46
*/
public class BusinessException extends RuntimeException {
/** serialVersionUID */
private static final long serialVersionUID = 2332608236621015980L;
private String code;
public BusinessException() {... | wzlee/cwlover-web | src/main/java/com/wzlee/cwl/exceptions/BusinessException.java | Java | apache-2.0 | 934 |
package com.model;
public class Teacher extends A {
String uid = "";
String domain = "";
String name = "";
String email = "";
String phone = "";
String unit = "";
String title = "";
String remark = "";
String officeHour = "";
public String getUid() {
return uid;
}
public voi... | mingxin6/incu | inc2_tw2/src/com/model/Teacher.java | Java | apache-2.0 | 1,365 |
/*
* Copyright (C) 2015 Archie L. Cobbs. All rights reserved.
*/
package org.jsimpledb.kv.raft;
import org.jsimpledb.kv.KVTransactionException;
abstract class AbstractTransactionService extends Service {
protected final RaftKVTransaction tx;
/**
* Constructor.
*/
public AbstractTransaction... | tempbottle/jsimpledb | src/java/org/jsimpledb/kv/raft/AbstractTransactionService.java | Java | apache-2.0 | 1,143 |
public interface Aggregate {
public abstract Iterator iterator();
}
| zhangchuanchuan/DesignMode | com/stream/iterator/Aggregate.java | Java | apache-2.0 | 70 |
package it.prisma.domain.dsl.configuration;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lan... | pon-prisma/PrismaDemo | Domain/src/main/java/it/prisma/domain/dsl/configuration/PlatformConfigurations.java | Java | apache-2.0 | 1,949 |
/*******************************************************************************
* Copyright (c) 2015 US DOT - Joint Program Office
*
* The Government has unlimited rights to all documents/material produced under
* this task order. All documents and materials, to include the source code of
* any software pr... | hmusavi/jpo-ode | jpo-ode-core/src/main/java/us/dot/its/jpo/ode/dds/DdsStatusMessageDecoder.java | Java | apache-2.0 | 5,449 |
package org.myrobotlab.opencv;
import static org.junit.Assert.assertNotNull;
import org.bytedeco.javacpp.Loader;
import org.bytedeco.opencv.opencv_java;
import org.bytedeco.opencv.opencv_core.IplImage;
import org.junit.Before;
public class OpenCVFilterLKOpticalTrackTest extends AbstractOpenCVFilterTest {
@Before
... | MyRobotLab/myrobotlab | src/test/java/org/myrobotlab/opencv/OpenCVFilterLKOpticalTrackTest.java | Java | apache-2.0 | 1,092 |
/*
* Copyright (C) 2015 Brent Marriott
*
* 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... | bmarrdev/android-DecoView-charting | sampleapp/src/main/java/com/hookedonplay/decoviewsample/SampleGenericFragment.java | Java | apache-2.0 | 6,590 |
/*
* Copyright (c) 2019 Informatics Matters 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 ... | InformaticsMatters/squonk | components/core-services-exec/src/main/groovy/org/squonk/execution/steps/impl/ValueTransformerStep.java | Java | apache-2.0 | 4,125 |
/**
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Lice... | emmettu/pnc | build-coordinator/src/main/java/org/jboss/pnc/core/builder/coordinator/bpm/BpmCompleteListener.java | Java | apache-2.0 | 1,826 |
/*
* DBeaver - Universal Database Manager
* Copyright (C) 2010-2021 DBeaver Corp 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/licen... | Sargul/dbeaver | plugins/org.jkiss.dbeaver.model/src/org/jkiss/dbeaver/model/qm/QMController.java | Java | apache-2.0 | 1,188 |
package com.baofeng.mobile.fragment;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import androi... | battleground/storm-mobile | app/src/main/java/com/baofeng/mobile/fragment/VideoStorageFragment.java | Java | apache-2.0 | 5,245 |
/* Copyright (c) 2006-2011 Regents of the University of Minnesota.
* For licensing terms, see the file LICENSE.
*/
package org.cyclopath.android.db;
/**
* Database-related constants.
* @author Fernando Torre
*/
public class DbConstants {
/** Name of the SQLite database */
public static final ... | lbouma/Cyclopath | android/src/org/cyclopath/android/db/DbConstants.java | Java | apache-2.0 | 1,959 |
package com.jikexueyuan.test;
import java.sql.Connection;
import java.sql.SQLException;
import com.jikexueyuan.dao.UserDao;
import com.jikexueyuan.dao.impl.UserDaoImpl;
import com.jikexueyuan.dto.User;
import com.jikexueyuan.util.ConnectionFactory;
/**
* FileName: UserDaoTest.java
* desc: 用户测试UserDAO.
* Date: 20... | darkmi/JSPStudy | src/com/jikexueyuan/test/UserDaoTest.java | Java | apache-2.0 | 1,371 |
package org.edx.indonesiax.module.db.impl;
import android.database.sqlite.SQLiteDatabase;
import org.edx.indonesiax.logger.Logger;
import org.edx.indonesiax.module.db.DataCallback;
abstract class DbOperationBase<T> implements IDbOperation<T> {
private DataCallback<T> callback;
protected static final Logger l... | ariestiyansyah/indonesiax-android | VideoLocker/src/main/java/org/edx/indonesiax/module/db/impl/DbOperationBase.java | Java | apache-2.0 | 1,533 |
package it.unibz.inf.ontop.model.term.functionsymbol.db.impl;
import com.google.common.collect.ImmutableList;
import it.unibz.inf.ontop.model.term.DBConstant;
import it.unibz.inf.ontop.model.term.ImmutableTerm;
import it.unibz.inf.ontop.model.term.TermFactory;
import it.unibz.inf.ontop.model.term.functionsymbol.db.DBF... | ontop/ontop | core/model/src/main/java/it/unibz/inf/ontop/model/term/functionsymbol/db/impl/DefaultTimeTzNormalizationFunctionSymbol.java | Java | apache-2.0 | 2,077 |