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 |
|---|---|---|---|---|---|
package com.graphhopper.converter.resources;
import com.codahale.metrics.annotation.Timed;
import com.graphhopper.converter.api.NominatimEntry;
import com.graphhopper.converter.api.Status;
import com.graphhopper.converter.core.Converter;
import javax.ws.rs.*;
import javax.ws.rs.client.Client;
import javax.ws.rs.clien... | boldtrn/graphhopper-geocoder-converter | src/main/java/com/graphhopper/converter/resources/ConverterResourceNominatim.java | Java | apache-2.0 | 4,257 |
package com.researchspace.figshare.impl;
import java.io.File;
import java.io.IOException;
import java.net.URL;
import org.apache.commons.io.IOUtils;
import org.springframework.core.io.FileSystemResource;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframew... | rspace-os/figshare-client-java | src/main/java/com/researchspace/figshare/impl/FileOperationsImpl.java | Java | apache-2.0 | 3,296 |
/**
*
*/
package br.com.cams7.android.teste.helloworld;
import android.app.Activity;
import android.os.Bundle;
/**
* @author cesar
*
*/
public class HelloMain extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.hell... | cams7/apps-android | HelloWorld/src/br/com/cams7/android/teste/helloworld/HelloMain.java | Java | apache-2.0 | 334 |
/**
**@author wjlmgqs
**下午7:43:22
**RuleDaoImp.java
**org.wjlmgqs.dao.imp
**OADemo
*/
package org.wjlmgqs.oa.dao.imp;
import org.springframework.stereotype.Repository;
import org.wjlmgqs.core.dao.imp.BaseDaoImp;
import org.wjlmgqs.oa.dao.RoleDao;
import org.wjlmgqs.oa.schema.Role;
@Repository
public class RoleD... | WJLMGQS/OADemo | src/org/wjlmgqs/oa/dao/imp/RoleDaoImp.java | Java | apache-2.0 | 384 |
/*
* 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 ... | amoudi87/asterixdb | asterix-algebra/src/main/java/org/apache/asterix/optimizer/rules/LoadRecordFieldsRule.java | Java | apache-2.0 | 18,435 |
package com.hxxc.user.app.data.bean;
import java.io.Serializable;
/**
* Created by Administrator on 2016/12/27.
*
*
*/
public class ContractBillNewBean implements Serializable {
private int currentTerm;
private String billPath;
public ContractBillNewBean() {
super();
}
public int g... | LaiHouWen/ProjectAll | Android-baofu2.0/app/src/main/java/com/hxxc/user/app/data/bean/ContractBillNewBean.java | Java | apache-2.0 | 836 |
/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any la... | openegovplatform/OEPv2 | oep-core-datamgt-portlet/docroot/WEB-INF/src/org/oep/core/datamgt/service/base/DictCollectionServiceBaseImpl.java | Java | apache-2.0 | 16,336 |
package de.jpaw.bonaparte.api.tests;
import org.testng.Assert;
import org.testng.annotations.Test;
import de.jpaw.bonaparte.api.media.MediaDataUtil;
import de.jpaw.bonaparte.pojos.api.media.MediaData;
public class ResourcesTest {
@Test
public void testPNG() throws Exception {
MediaData d = MediaData... | jpaw/bonaparte-java | bonaparte-api-media/src/test/java/de/jpaw/bonaparte/api/tests/ResourcesTest.java | Java | apache-2.0 | 912 |
package org.longan.autoframe.init;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import org.longan.autoframe.util.LogUtils;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.i... | SouWilliams/Selenium-DataDriven-Framework | Selenium-DataDriven/src/org/longan/autoframe/init/DriverInitialize.java | Java | apache-2.0 | 3,722 |
package org.gimcrack.test.gegaw.core.collections;
import java.util.Arrays;
import org.gimcrack.test.gegaw.core.GegawNode;
public class GegawNodeHolder {
public final GegawNode node;
private GegawNodeHolder [] prev;
private GegawNodeHolder [] next;
public GegawNodeHolder(GegawNode node) {
... | mrietveld/gimcrack | gimcrack-test/src/main/java/org/gimcrack/test/gegaw/core/collections/GegawNodeHolder.java | Java | apache-2.0 | 1,947 |
package ch.poinzofnoreturn.server.model;
import javax.persistence.*;
/**
* Basisklasse für alle Entitäten
*/
@MappedSuperclass
public abstract class BaseEntity {
/**
* Technischer Primärschlüssel. Wird von JPA vergeben
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(nam... | surech/ponr-server | src/main/java/ch/poinzofnoreturn/server/model/BaseEntity.java | Java | apache-2.0 | 490 |
// 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.ide.todo.nodes;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.projectView.PresentationData;
import com.intellij.ide.todo.TodoTreeBuilder;
impor... | leafclick/intellij-community | platform/lang-impl/src/com/intellij/ide/todo/nodes/ModuleToDoNode.java | Java | apache-2.0 | 3,924 |
package it.unibz.inf.ontop.generation.normalization.impl;
import com.google.common.collect.ImmutableList;
import com.google.inject.Inject;
import it.unibz.inf.ontop.generation.normalization.DialectExtraNormalizer;
import it.unibz.inf.ontop.injection.IntermediateQueryFactory;
import it.unibz.inf.ontop.iq.IQTree;
import... | ontop/ontop | db/rdb/src/main/java/it/unibz/inf/ontop/generation/normalization/impl/EnforceNullOrderNormalizer.java | Java | apache-2.0 | 3,450 |
// $Id$
/*
* JBoss, Home of Professional Open Source
* Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* ... | dgutierr/dashbuilder | dashbuilder-shared/dashbuilder-hibernate-validator/src/main/java/org/hibernate/validator/metadata/ElementDescriptorImpl.java | Java | apache-2.0 | 5,186 |
package org.ovirt.engine.core.bll.storage;
import org.ovirt.engine.core.utils.*;
public class ConnectSingleAsyncOperationFactory extends ActivateDeactivateSingleAsyncOperationFactory {
@Override
public ISingleAsyncOperation createSingleAsyncOperation() {
return new ConnectSingleAsyncOperation(getVdss(... | jbeecham/ovirt-engine | backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/ConnectSingleAsyncOperationFactory.java | Java | apache-2.0 | 370 |
package com.xiahao.lib.machinelearning;
import com.google.cloud.translate.Detection;
import com.google.cloud.translate.Language;
import com.google.cloud.translate.Translate;
import com.google.cloud.translate.Translate.LanguageListOption;
import com.google.cloud.translate.Translate.TranslateOption;
import com.google.cl... | Davidxiahao/DataBaseWorkplace | src/main/java/com/xiahao/lib/machinelearning/TranslateByGoogle.java | Java | apache-2.0 | 11,187 |
/*
* Copyright 2000-2010 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... | joewalnes/idea-community | platform/platform-impl/src/com/intellij/openapi/options/ex/ConfigurableExtensionPointUtil.java | Java | apache-2.0 | 4,436 |
/*
* Copyright 2017 Javier A. Ortiz Bultron javier.ortiz.78@gmail.com.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | javydreamercsw/validation-manager | VM-Core/src/main/java/com/validation/manager/core/db/controller/ProjectTypeJpaController.java | Java | apache-2.0 | 13,457 |
package ca.uhn.fhir.validation;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2016 University Health Network
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | Gaduo/hapi-fhir | hapi-fhir-base/src/main/java/ca/uhn/fhir/validation/SchemaBaseValidator.java | Java | apache-2.0 | 8,712 |
package net.savantly.example.entity;
import java.util.Collection;
import java.util.UUID;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.OneToMany;
@Entity
public class Customer {
@Id
private String id = UUID.randomUUID().toString();
private String firstName;
... | savantly-net/oss | spring-fixtures/src/test/java/net/savantly/example/entity/Customer.java | Java | apache-2.0 | 3,398 |
// @formatter:off
/**
*
* This file is part of streaming pool (http://www.streamingpool.org).
*
* Copyright (c) 2017-present, CERN. 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 ... | streamingpool/streamingpool-core | src/test/org/streamingpool/core/service/impl/LocalPoolTest.java | Java | apache-2.0 | 2,612 |
package com.share.mod.pay.ali.wap.sign;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.security.KeyFactory;
import java.security.PrivateKey;
import java.security.PublicKey;
import java.security.spec.PKCS8EncodedKeySpec;
import java.security.spec.X509... | zhoukekestar/zkk-components | AlipayWAP/src/com/share/mod/pay/ali/wap/sign/RSA.java | Java | apache-2.0 | 3,894 |
/*
* Copyright 2020 LINE Corporation
*
* LINE Corporation licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | line/line-bot-sdk-java | line-bot-model/src/test/java/com/linecorp/bot/model/response/GetMessageEventResponseTest.java | Java | apache-2.0 | 4,345 |
package io.elegie.luchess.web.launcher.ui.console.components;
import io.elegie.luchess.web.launcher.ui.UiComponent;
import io.elegie.luchess.web.launcher.ui.UiMessages;
import io.elegie.luchess.web.launcher.ui.common.UiLabel;
import javax.swing.JComponent;
/**
* An Hello component, used to greet the user.
*/
@Supp... | Elegie/luchess | projects/luchess-web-launcher/src/main/java/io/elegie/luchess/web/launcher/ui/console/components/WelcomeComponent.java | Java | apache-2.0 | 679 |
/*********************************************************************
* FloatConverter.java
* org.omni.commons.bean.convert
*
* E-mail:omni_wx@163.com
********************************************************************/
package org.omni.commons.bean.convert;
// TODO: Auto-generated Javadoc
/**
* The... | solemichael/omni | src/main/java/org/omni/commons/bean/convert/FloatConverter.java | Java | apache-2.0 | 986 |
// Copyright (c) 2008 The Board of Trustees of The Leland Stanford Junior University
// Copyright (c) 2011, 2012 Open Networking Foundation
// Copyright (c) 2012, 2013 Big Switch Networks, Inc.
// This library was generated by the LoxiGen Compiler.
// See the file LICENSE.txt which should have been included in the sour... | floodlight/loxigen-artifacts | openflowj/gen-src/main/java/org/projectfloodlight/openflow/protocol/ver11/OFTableStatsRequestVer11.java | Java | apache-2.0 | 12,027 |
/**
* Open Access papers as first pass for Jenny's design for a science workbench
*/
/**
* @author pm286
*
*/
package org.xmlcml.norma.demos.jenny;
| petermr/norma | src/test/java/org/xmlcml/norma/demos/jenny/package-info.java | Java | apache-2.0 | 154 |
/*
* Copyright (c) 2012-2016, Inversoft 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... | prime-framework/prime-mvc | src/main/java/org/primeframework/mvc/action/result/guice/ResultModule.java | Java | apache-2.0 | 2,998 |
/**
* JBoss, Home of Professional Open Source
* Copyright Red Hat, Inc., and individual 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/licens... | matzew/aerogear-unifiedpush-server | push/sender/src/main/java/org/jboss/aerogear/unifiedpush/message/sender/APNsPushNotificationSender.java | Java | apache-2.0 | 14,257 |
package com.besil.neo4jsna.engine.algorithm;
import org.neo4j.graphdb.Relationship;
public interface SingleRelationshipScanAlgorithm<T> extends Algorithm<T> {
void compute(Relationship r);
}
| besil/Neo4jSNA | src/main/java/com/besil/neo4jsna/engine/algorithm/SingleRelationshipScanAlgorithm.java | Java | apache-2.0 | 194 |
package run;
import mail.MailManager;
import mail.processing.VerifyPublicationResultEmail;
public class AdRetrieveID implements LeboncoinRunner
{
@Override
public void run()
{
MailManager.doAction(new VerifyPublicationResultEmail(persistence));
}
}
| philipperemy/Leboncoin | src/run/AdRetrieveID.java | Java | apache-2.0 | 290 |
package train;
import java.io.*;
import java.util.*;
import utils.IO;
import utils.TestPair;
public class TrainTransE {
public String CONFIG_PATH;
public String TRAIN_FILE_PATH;
public String DEV_FILE_PATH;
public String TEST_FILE_PATH;
public String EN_EMBD_FILE_PATH;
public String RE_EMBD_FILE_PATH;
pub... | iluoyi/knowledge-graph-embedding | KGE/src/train/TrainTransE.java | Java | apache-2.0 | 13,943 |
package jp.ac.titech.cs.se.fwit.core.model.composite.visitor;
import java.util.List;
import jp.ac.titech.cs.se.fwit.core.model.composite.CTransition;
import jp.ac.titech.cs.se.fwit.core.model.fw.FTransition;
import jp.ac.titech.cs.se.fwit.core.model.fw.FrameworkTemplate;
/**
* ApplyCustomizationVisitor applies cust... | salab/fwit | jp.ac.titech.cs.se.fwit.core/src/jp/ac/titech/cs/se/fwit/core/model/composite/visitor/ApplyCustomizationVisitor.java | Java | apache-2.0 | 938 |
/*
* 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 applicab... | YoungDigitalPlanet/empiria.player | src/test/java/eu/ydp/empiria/player/client/module/identification/presenter/SelectableChoicePresenterTest.java | Java | apache-2.0 | 5,543 |
/*
* Copyright (c) 2013. Ground Zero Labs, Private Company.
*
* 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 ... | gzlabs/hightide | hightide-core/src/main/java/io/hightide/resources/IResource.java | Java | apache-2.0 | 898 |
/*
* Copyright 2000-2015 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... | vladmm/intellij-community | platform/core-api/src/org/jetbrains/concurrency/Promise.java | Java | apache-2.0 | 5,118 |
/*
* Copyright 2017 K. P. Sroka
*
* 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 wr... | kpsroka/splendid-srv | src/test/java/net/rk/splendid/NewGameControllerTest.java | Java | apache-2.0 | 5,272 |
/*******************************************************************************
* Copyright 2013
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lice... | dkpro/dkpro-jwktl | src/test/java/de/tudarmstadt/ukp/jwktl/parser/de/components/nountable/MehrzahlHandlerTest.java | Java | apache-2.0 | 4,660 |
package io.github.suxil.auth.dto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
/**
* <p>
* 岗位信息
* </p>
*
* @author generate
* @since 2020-05-03
*/
... | suxi-lu/learn | auth-api/src/main/java/io/github/suxil/auth/dto/UaaPositionDto.java | Java | apache-2.0 | 1,300 |
package com.sprylab.xar;
import java.io.IOException;
/**
* Exception that gets thrown if there is an error with an {@link XarSource}.
*/
public class XarException extends IOException {
public XarException() {
}
public XarException(final String message) {
super(message);
}
public XarEx... | sprylab/xar | xar/src/main/java/com/sprylab/xar/XarException.java | Java | apache-2.0 | 492 |
/*
* Copyright © 2009 HotPads (admin@hotpads.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | hotpads/datarouter | datarouter-storage/src/test/java/io/datarouter/storage/serialize/JsonDatabeanToolTests.java | Java | apache-2.0 | 4,944 |
/*
* 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 ... | deepakddixit/incubator-geode | geode-protobuf/src/main/java/org/apache/geode/internal/protocol/protobuf/security/SecureFunctionServiceImpl.java | Java | apache-2.0 | 4,917 |
package cn.elvea.platform.core.system.mapper;
import cn.elvea.platform.commons.persistence.mybatis.mapper.BaseEntityMapper;
import cn.elvea.platform.core.system.domain.entity.ClientEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
* @author elvea
* @see BaseE... | elveahuang/platform | platform-modules/platform-core-biz/src/main/java/cn/elvea/platform/core/system/mapper/ClientMapper.java | Java | apache-2.0 | 451 |
package com.example.worldcolck;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.ActionBar;
import android.support.v4.app.Fragment;
import android.app.Activity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import and... | liuyong1351/WorldColck | src/com/example/worldcolck/MainActivity.java | Java | apache-2.0 | 1,344 |
package com.dianping.cat.matrix;
import com.dianping.cat.matrix.report.ReportContext;
public class Context extends ReportContext<Payload> {
}
| unidal/cat | report-matrix/src/main/java/com/dianping/cat/matrix/Context.java | Java | apache-2.0 | 145 |
package com.planet_ink.coffee_mud.Common.interfaces;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
impor... | oriontribunal/CoffeeMud | com/planet_ink/coffee_mud/Common/interfaces/Clan.java | Java | apache-2.0 | 35,044 |
package org.dbflute.erflute.editor.controller.command.diagram_contents.element.node.table_view;
import org.dbflute.erflute.editor.controller.command.AbstractCommand;
import org.dbflute.erflute.editor.model.diagram_contents.element.node.table.TableView;
import org.dbflute.erflute.editor.model.diagram_contents.element.n... | dbflute-session/erflute | src/org/dbflute/erflute/editor/controller/command/diagram_contents/element/node/table_view/ChangeColumnOrderCommand.java | Java | apache-2.0 | 1,239 |
/*
* Copyright 2015 Fabio Collini.
*
* 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... | fabioCollini/mv2m | demo/src/main/java/it/cosenonjaviste/demomv2m/core/currencyconverter4/CurrencyConverterModel.java | Java | apache-2.0 | 1,867 |
package org.mixer2.springmvc;
import java.util.Locale;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.mixer2.Mixer2Engine;
import org.springframework.beans.BeansException;
import org.springframework.core.Ordered;
import org.springframework.web.context.WebApplicationCon... | nabedge/mixer2 | src/main/java/org/mixer2/springmvc/Mixer2XhtmlViewResolver.java | Java | apache-2.0 | 3,258 |
/**
* Copyright 2013-2014 Guoqiang Chen, Shanghai, China. All rights reserved.
*
* Email: subchen@gmail.com
* URL: http://subchen.github.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 Licen... | subchen/jetbrick-all-1x | jetbrick-commons/src/main/java/jetbrick/reflect/PropertyInfo.java | Java | apache-2.0 | 3,423 |
/* Copyright 2018 Telstra Open Source
*
* 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... | telstra/open-kilda | src-java/testing/test-library/src/main/java/org/openkilda/testing/tools/SoftAssertions.java | Java | apache-2.0 | 1,389 |
package com.zhuohua.teacher.action;
import static com.zhuohua.systemadmin.util.FileUtil.moveFile;
import java.io.File;
import java.util.Date;
import java.util.List;
import javax.annotation.Resource;
import org.apache.struts2.ServletActionContext;
import com.opensymphony.xwork2.ActionContext;
import com.opensymphon... | tianfengjingjing/WindowsPhone8.1APPBasic | src/com/zhuohua/teacher/action/PostHomeWorkAction.java | Java | apache-2.0 | 6,618 |
/*
* Copyright (C) 2008 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 app... | grumoon/GLauncher | src/com/grumoon/glauncher/Folder.java | Java | apache-2.0 | 46,208 |
/**
* Copyright 2015 LinkedIn Corp. 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 applica... | shpark76/WhereHows | wherehows-frontend/app/dao/SearchDAO.java | Java | apache-2.0 | 38,536 |
/*
* Copyright (c) 2017 Dmitry Avtonomov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | chhh/MSFTBX | MSFileToolbox/src/main/java/umich/ms/fileio/filetypes/mzidentml/jaxb/standard/SearchDatabaseRefType.java | Java | apache-2.0 | 2,082 |
package com.shunwang.api;
import com.shunwang.api.request.passport.SWOutQueryUserMsgRequest;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
/**
* @author min.da
* @since 2015-12-30
*/
public class SWMain {
public static void main(String[] args) {
testSWOutQueryUs... | waitttttttttttttttttttttttting/apitools | apitools-web/src/main/config/apidemos/interface/outQueryUserMsg-UTF-8/src/main/java/com/shunwang/api/SWMain.java | Java | apache-2.0 | 1,263 |
/*
* Copyright 2005 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | yurloc/drools | drools-core/src/main/java/org/drools/audit/event/ActivationLogEventFilter.java | Java | apache-2.0 | 3,208 |
package de.predic8.util;
import org.apache.camel.Exchange;
import org.apache.camel.Processor;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
public class GetLastHash implements Processor {
@Override
... | predic8/simple-document-archive | src/main/java/de/predic8/util/GetLastHash.java | Java | apache-2.0 | 927 |
//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 201... | thlaegler/microservice | microservice-adapter/src/main/java/com/laegler/microservice/adapter/lib/javaee/v7/EjbLinkType.java | Java | apache-2.0 | 2,246 |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.builder.xml.dom.chains.processing;
import com.yahoo.config.model.deploy.DeployState;
import com.yahoo.vespa.model.builder.xml.dom.chains.ChainedComponentModelBuilder;
import com.yahoo.... | vespa-engine/vespa | config-model/src/main/java/com/yahoo/vespa/model/builder/xml/dom/chains/processing/DomProcessorBuilder.java | Java | apache-2.0 | 993 |
package com.googlecode.qlink.core;
import java.util.Comparator;
import java.util.Stack;
import org.junit.Assert;
import com.googlecode.qlink.api.functor.Function;
import com.googlecode.qlink.api.functor.Function2;
import com.googlecode.qlink.api.functor.Predicate;
import com.googlecode.qlink.api.functor.Visitor2;
im... | epanikas/q-link | core/src/test/java/com/googlecode/qlink/core/StackAssertUtils.java | Java | apache-2.0 | 3,836 |
/* Generated by camel build tools - do NOT edit this file! */
package org.apache.camel.component.chatscript;
import java.util.Map;
import org.apache.camel.CamelContext;
import org.apache.camel.spi.GeneratedPropertyConfigurer;
import org.apache.camel.spi.PropertyConfigurerGetter;
import org.apache.camel.util.CaseInsen... | alvinkwekel/camel | components/camel-chatscript/src/generated/java/org/apache/camel/component/chatscript/ChatScriptComponentConfigurer.java | Java | apache-2.0 | 2,135 |
package jpql;
import java.util.Iterator;
import java.util.List;
import javax.ejb.embeddable.EJBContainer;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.EntityTransaction;
import javax.persistence.Persistence;
import javax.persistence.Query;
import mx.... | juanfcosanz/Java-EE | App Web/sga-jee/src/test/java/jpql/TestJPQL.java | Java | apache-2.0 | 7,298 |
/**
* XOR, empowering Model Driven Architecture in J2EE applications
*
* Copyright (c) 2012, Dilip Dalton
*
* 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... | ddalton/xor | src/test/java/tools/xor/db/enums/common/ValueTypeEnum.java | Java | apache-2.0 | 942 |
package com.android.qatest.ui.category;
/**
* Created by lshaobocsu@gmail.com on 2017.5.17.
*/
public interface CategoryView {
void showLoading();
void hideLoading();
void updateSectionList();
}
| kinshasa/react-native-qatest | android/android-qa-test/src/main/java/com/android/qatest/ui/category/CategoryView.java | Java | apache-2.0 | 215 |
package com.planet_ink.coffee_mud.Abilities.Prayers;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffee_mud.Areas.interfaces.*;
import com.planet_ink.coffee_mud.Behaviors.interfaces.*;
i... | welterde/ewok | com/planet_ink/coffee_mud/Abilities/Prayers/Prayer_Purify.java | Java | apache-2.0 | 4,595 |
/*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | togglz/togglz | spring-boot/starter/src/main/java/org/togglz/spring/boot/actuate/TogglzEndpoint.java | Java | apache-2.0 | 5,497 |
/*
* 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... | consulo/consulo | modules/base/platform-impl/src/main/java/com/intellij/openapi/editor/actions/SetEditorBidiTextDirectionAction.java | Java | apache-2.0 | 2,072 |
package org.goldonship.designpattern.facade;
import org.junit.Test;
public class ApplicationTest {
@Test
public void test() throws Exception {
String[] args = {};
Application.main(args);
}
}
| goldonship/java-design-pattern | structural/facade/src/test/java/org/goldonship/designpattern/facade/ApplicationTest.java | Java | apache-2.0 | 232 |
package io.github.greyp9.arwo.app.local.sh.view;
import io.github.greyp9.arwo.app.core.state.AppUserState;
import io.github.greyp9.arwo.app.core.view.favorite.AppFavoriteView;
import io.github.greyp9.arwo.app.core.view.refresh.AppRefreshView;
import io.github.greyp9.arwo.app.local.sh.core.SHRequest;
import io.github.g... | greyp9/arwo | src/main/app/java/io/github/greyp9/arwo/app/local/sh/view/SHView.java | Java | apache-2.0 | 5,830 |
package com.coolweather1.android;
import android.app.Fragment;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import a... | xiaoyuan199/coolweather1 | app/src/main/java/com/coolweather1/android/ChooseAreaFragment.java | Java | apache-2.0 | 10,204 |
/*
Copyright 2022 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwar... | kubernetes-client/java | fluent/src/main/java/io/kubernetes/client/openapi/models/V1UncountedTerminatedPodsFluent.java | Java | apache-2.0 | 2,973 |
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for HostIpRouteEntry complex type.
*
* <p>The following schema fragme... | jdgwartney/vsphere-ws | java/JAXWS/samples/com/vmware/vim25/HostIpRouteEntry.java | Java | apache-2.0 | 3,264 |
/*
* 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 ... | NLeSC/Xenon | src/integrationTest/java/nl/esciencecenter/xenon/adaptors/schedulers/slurm/Slurm16SchedulerDockerTest.java | Java | apache-2.0 | 2,432 |
package tech.tablesaw.api;
import static com.google.common.base.Preconditions.checkArgument;
import com.google.common.base.Preconditions;
import it.unimi.dsi.fastutil.longs.*;
import java.nio.ByteBuffer;
import java.time.Instant;
import java.time.ZoneOffset;
import java.util.HashSet;
import java.util.Iterator;
import... | jtablesaw/tablesaw | core/src/main/java/tech/tablesaw/api/LongColumn.java | Java | apache-2.0 | 17,818 |
package org.jpublish.module.jprss;
import com.anthonyeden.lib.config.Configuration;
import org.jpublish.JPublishContext;
import org.jpublish.module.jprss.model.JPRSSFeed;
import org.jpublish.action.Action;
import javax.servlet.http.HttpServletRequest;
/**
* This path Action will manage the news feeds
*
* @author ... | florinpatrascu/jpublish | modules/jprss/java/src/org/jpublish/module/jprss/JPRssSimpleFeedPublisherAction.java | Java | apache-2.0 | 1,525 |
/*
* Copyright © 2015-2016
*
* This file is part of Spoofax for IntelliJ.
*
* 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... | metaborg/spoofax-intellij | src/main/java/org/metaborg/intellij/idea/parsing/elements/IAstElementTypeProvider.java | Java | apache-2.0 | 895 |
package ca.six.jtest.finalt;
import java.util.ArrayList;
import java.util.List;
public class AppleAgent {
public final List<AppleAgentListener> listeners;
public AppleAgent() {
this.listeners = new ArrayList<>();
}
}
interface AppleAgentListener {
} | songzhw/AndroidTestDemo | JavaTest/src/main/java/ca/six/jtest/finalt/AppleAgent.java | Java | apache-2.0 | 273 |
/**
*
* (c) Copyright Ascensio System SIA 2021
*
* 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... | ONLYOFFICE/document-server-integration | web/documentserver-example/java-spring/src/main/java/com/onlyoffice/integration/documentserver/models/filemodel/User.java | Java | apache-2.0 | 1,328 |
/*
* Copyright 2009 Arizona Board of Regents
*
*/
package org.kuali.rice.kim.dao;
import java.util.List;
import java.util.Map;
import org.kuali.rice.kim.api.identity.entity.Entity;
import org.kuali.rice.kim.api.identity.entity.EntityDefault;
import org.kuali.rice.kim.api.identity.name.EntityName;
import org.kuali.... | sbower/kuali-rice-1 | ldap/src/main/java/org/kuali/rice/kim/dao/PrincipalDao.java | Java | apache-2.0 | 2,336 |
package pub.nub.example;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import com.pubnub.api.Callback;
import com.pubnub.api.Pubnub;
import com.pubnub.api.PubnubError;
import com.pubnub.api.PubnubException;
public class NotificationService extends Service {
Pubnub pubnub;
... | jd-alexander/Pub | app/src/main/java/pub/nub/example/NotificationService.java | Java | apache-2.0 | 1,389 |
package cn.hybris.demo.ex4;
import java.math.BigDecimal;
/**
* "BigDecimal(double)" should not be used
*
* Because of floating point imprecision, you're unlikely to get the value you
* expect from the BigDecimal(double) constructor.
*
* From the JavaDocs:
*
* The results of this constructor can... | qudh1/focusture | frame/src/main/java/cn/hybris/demo/ex4/Test2.java | Java | apache-2.0 | 1,764 |
package com.lee.main.view.list.pullrefresh;
import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnTouchListener;
import android.view.ViewConfiguration;
import android.view.animation.OvershootInterpolator;
import android.w... | noobyang/AndroidStudy | main/src/main/java/com/lee/main/view/list/pullrefresh/PullRefreshViewPro.java | Java | apache-2.0 | 7,969 |
/**
* 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... | bonnetb/sqoop | src/test/com/cloudera/sqoop/manager/PostgresqlExportTest.java | Java | apache-2.0 | 14,289 |
package bioc.esViews.BioCDocument;
import java.util.*;
import org.springframework.data.annotation.*;
import org.springframework.data.elasticsearch.annotations.*;
import static org.springframework.data.elasticsearch.annotations.FieldIndex.*;
import lombok.Data;
/**
* The connection to the original text can be made ... | BMKEG/UimaBioC | src/main/java/bioc/esViews/BioCDocument/BioCDocument__BioCLocation.java | Java | apache-2.0 | 1,021 |
package com.tinkerpop.gremlin.java;
import com.tinkerpop.blueprints.Graph;
import com.tinkerpop.pipes.IdentityPipe;
import java.util.ArrayList;
import java.util.List;
/**
* @author Marko A. Rodriguez (http://markorodriguez.com)
*/
@SuppressWarnings({ "rawtypes" })
public class GremlinStartPipe extends IdentityPipe... | OpenNTF/org.openntf.domino | domino/externals/tinkerpop/src/main/java/com/tinkerpop/gremlin/java/GremlinStartPipe.java | Java | apache-2.0 | 594 |
/**
* Copyright (c) 2005-2012 springside.org.cn
*
* Licensed under the Apache License, Version 2.0 (the "License");
*/
package org.starapp.test.spring;
import javax.sql.DataSource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ActiveProfiles;
import org.spr... | cisoft8341/starapp | starapp-test/src/main/java/org/starapp/test/spring/SpringTransactionalTestCase.java | Java | apache-2.0 | 1,037 |
package cn.dyz.thrift.server;
import org.apache.thrift.TProcessorFactory;
import org.apache.thrift.protocol.TCompactProtocol;
import org.apache.thrift.server.THsHaServer;
import org.apache.thrift.server.TServer;
import org.apache.thrift.transport.TFramedTransport;
import org.apache.thrift.transport.TNonblockingServerS... | yongzhidai/TestExample | src/main/java/cn/dyz/thrift/server/UserServer.java | Java | apache-2.0 | 1,136 |
package dcraft.service;
import groovy.lang.GroovyObject;
import java.nio.file.Files;
import java.nio.file.Path;
import dcraft.groovy.GCompClassLoader;
import dcraft.hub.TenantInfo;
import dcraft.log.Logger;
public class TenantWatcherAdapter {
protected Path tenantpath = null;
protected GroovyObject script = null;... | Gadreel/dcraft | dcraft.core/src/main/java/dcraft/service/TenantWatcherAdapter.java | Java | apache-2.0 | 1,334 |
/*
* ServeStream: A HTTP stream browser/player for Android
* Copyright 2010 William Seemann
*
* 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/lice... | minstrelsy/servestream | src/net/sourceforge/servestream/filemanager/IconifiedText.java | Java | apache-2.0 | 2,132 |
/*
* 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-opsworkscm/src/main/java/com/amazonaws/services/opsworkscm/AWSOpsWorksCMClient.java | Java | apache-2.0 | 77,275 |
/**
* hub-detect
*
* Copyright (C) 2019 Black Duck Software, Inc.
* http://www.blackducksoftware.com/
*
* 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 owners... | blackducksoftware/hub-detect | hub-detect/src/main/groovy/com/blackducksoftware/integration/hub/detect/workflow/codelocation/DetectCodeLocation.java | Java | apache-2.0 | 2,989 |
/*
* Copyright (c) 2015 Markus Poeschl
*
* 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... | Poeschl/TryAndRemove | app/src/debug/java/de/poeschl/apps/tryandremove/utils/DebugUtilsModule.java | Java | apache-2.0 | 1,477 |
/*
* Copyright WSO2, Inc. (http://wso2.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | harsha1979/developer-studio | esb/org.wso2.developerstudio.eclipse.gmf.esb.diagram/src/org/wso2/developerstudio/eclipse/gmf/esb/diagram/custom/provider/EsbPropertySource.java | Java | apache-2.0 | 24,698 |
package com.planet_ink.coffee_mud.WebMacros;
import com.planet_ink.miniweb.interfaces.*;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.collections.*;
import com.planet_ink.coffee_mud.Abilities.interfaces.*;
import com.planet_ink.coffe... | vjanmey/EpicMudfia | com/planet_ink/coffee_mud/WebMacros/ExpertiseID.java | Java | apache-2.0 | 1,887 |
/*
* Copyright (c) 2014 Krzysztof Suszyński <krzysztof.suszynski@wavesoftware.pl>
*
* 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
*... | wavesoftware/java-wfirma-api | src/main/java/pl/wavesoftware/wfirma/api/core/model/Api.java | Java | apache-2.0 | 1,497 |
package org.jrebirth.core.resource.font;
/**
* The class <strong>TestFontNames</strong>.
*
* @author Sébastien Bordes
*/
public enum TestFontNames implements FontName {
/** Turtles. */
Turtles,
/** Report 1942. */
Report_1942,
}
| amischler/JRebirth | org.jrebirth/core/src/test/java/org/jrebirth/core/resource/font/TestFontNames.java | Java | apache-2.0 | 269 |
/*
* Copyright (C) 2010 Ryszard Wiśniewski <brut.alll@gmail.com>
* Copyright (C) 2010 Connor Tumbleson <connor.tumbleson@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | iBotPeaches/Apktool | brut.apktool/apktool-lib/src/test/java/brut/androlib/aapt2/NonStandardPkgIdTest.java | Java | apache-2.0 | 3,026 |
package com.amazon.mqa.datagen.rof.typed;
import static com.google.common.base.Preconditions.checkNotNull;
import com.amazon.mqa.datagen.supplier.MinMaxIntegerSupplier;
import com.google.common.base.Supplier;
import java.lang.reflect.Type;
import java.util.Collection;
/** Creates list, set and collection. */
final ... | leakingtapan/rof | src/com/amazon/mqa/datagen/rof/typed/DefaultCollectionFactory.java | Java | apache-2.0 | 2,803 |
package android.os;
/*
* #%L
* Matos
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2010 - 2014 Orange SA
* %%
* 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.apach... | Orange-OpenSource/matos-profiles | matos-android/src/main/java/android/os/Handler.java | Java | apache-2.0 | 4,621 |