repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
hortonworks/cloudbreak | orchestrator-salt/src/main/java/com/sequenceiq/cloudbreak/orchestrator/salt/SaltErrorResolver.java | 2954 | package com.sequenceiq.cloudbreak.orchestrator.salt;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import javax.annotation.PostConstruct;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;
import org.yaml.sna... | apache-2.0 |
arnaud-deprez/camel | components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/format/LocalDatePatternFormat.java | 2642 | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | apache-2.0 |
crazysunj/Android-PickerView | android-pickerdialog/src/main/java/com/sunjian/android_pickview_lib/view/SmoothScrollTimerTask.java | 2075 | package com.sunjian.android_pickview_lib.view;
import java.util.TimerTask;
final class SmoothScrollTimerTask extends TimerTask {
int realTotalOffset;
int realOffset;
int offset;
final WheelView loopView;
SmoothScrollTimerTask(WheelView loopview, int offset) {
this.loopView = loopview;
... | apache-2.0 |
strator-dev/greenpepper | greenpepper/greenpepper-client/src/main/java/com/greenpepper/server/rpc/runner/report/HtmlReport.java | 3703 |
/**
* Copyright (c) 2008 Pyxis Technologies inc.
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This software is... | apache-2.0 |
nmalesic/LocoMaps | src/com/locompas/edd/bl/model/bd/session/SessionConnection.java | 2053 | package com.locompas.edd.bl.model.bd.session;
import java.util.ArrayList;
import java.util.HashMap;
import javax.servlet.http.HttpSession;
import com.locomaps.edd.bl.model.User;
import com.locomaps.edd.bl.model.db.Persistance;
import com.locomaps.edd.bl.model.db.PersistanceManager;
import com.locomaps.edd.bl.model.d... | apache-2.0 |
suninformation/ymate-platform-v2 | ymate-platform-persistence-jdbc/src/main/java/net/ymate/platform/persistence/jdbc/base/impl/DefaultProcedureOperator.java | 8131 | /*
* Copyright 2007-2019 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 ap... | apache-2.0 |
SES-fortiss/SmartGridCoSimulation | core/cim15/src/CIM15/IEC61968/AssetModels/ConductorUsageKind.java | 5925 | /**
*/
package CIM15.IEC61968.AssetModels;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import org.eclipse.emf.common.util.Enumerator;
/**
* <!-- begin-user-doc -->
* A representation of the literals of the enumeration '<em><b>Conductor Usage Kind</b></em>',
* and utility methods... | apache-2.0 |
brant-hwang/armeria | src/main/java/com/linecorp/armeria/client/http/SimpleHttpRequest.java | 2958 | /*
* Copyright 2015 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... | apache-2.0 |
dumitru-petrusca/gosu-lang | gosu-core/src/main/java/gw/internal/gosu/parser/JavaMethodInfo.java | 23088 | /*
* Copyright 2014 Guidewire Software, Inc.
*/
package gw.internal.gosu.parser;
import gw.internal.ext.org.objectweb.asm.Opcodes;
import gw.internal.gosu.parser.java.classinfo.JavaSourceDefaultValue;
import gw.lang.Deprecated;
import gw.lang.GosuShop;
import gw.lang.PublishedName;
import gw.lang.javadoc.IClassDocN... | apache-2.0 |
AdaptiveMe/adaptive-arp-api-lib-java | src/main/java/me/adaptive/arp/api/ContactPersonalInfo.java | 4402 | /**
--| ADAPTIVE RUNTIME PLATFORM |----------------------------------------------------------------------------------------
(C) Copyright 2013-2015 Carlos Lozano Diez t/a Adaptive.me <http://adaptive.me>.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance wi... | apache-2.0 |
YiNPNG/test | TextTwo/app/src/main/java/com/example/dell/texttwo/ui/FragmentBase.java | 1735 | package com.example.dell.texttwo.ui;
import com.example.dell.texttwo.R;
import android.content.BroadcastReceiver;
import android.content.IntentFilter;
import android.database.ContentObserver;
import android.net.Uri;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
... | apache-2.0 |
darciopacifico/omr | modules/JazzAV/core/src/main/java/br/com/dlp/jazzav/produto/MarcaVO.java | 644 | package br.com.dlp.jazzav.produto;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import br.com.dlp.jazzav.AbstractLogEntityVO;
/**
*
* @author darcio
*
*/
@Entity
public class MarcaVO extends AbstractLogEntityVO<Lo... | apache-2.0 |
dreamseekerkun/EnjoyLife | app/src/main/java/com/dream/plmm/bean/HealthyInfoDetailEntity.java | 4203 | package com.dream.plmm.bean;
/**
* Created by likun on 16/8/19.
*/
public class HealthyInfoDetailEntity {
/**
* count : 1754
* description : 平时要注意开窗通风,要多吃“补氧”食物,例如葵花子油、杏仁、奇异果、红薯等,还要多进行一些慢跑等有氧运动,这些都助于身体吸纳氧气
* fcount : 0
* id : 10
* img : /lore/150731/af4811aaf581c7369c4c425d449ab94d.jpg
... | apache-2.0 |
gxa/atlas | base/src/main/java/uk/ac/ebi/atlas/profiles/MinMaxProfileRanking.java | 1377 | package uk.ac.ebi.atlas.profiles;
import com.google.common.collect.MinMaxPriorityQueue;
import uk.ac.ebi.atlas.commons.streams.ObjectInputStream;
import uk.ac.ebi.atlas.model.GeneProfilesList;
import uk.ac.ebi.atlas.model.Profile;
import java.util.Comparator;
import java.util.function.Supplier;
public class MinMaxPr... | apache-2.0 |
OmniKryptec/OmniKryptec-Engine | src/main/java/de/omnikryptec/old/util/OSUtil.java | 6117 | /*
* Copyright 2017 - 2019 Roman Borris (pcfreak9000), Paul Hagedorn (Panzer1119)
*
* 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/... | apache-2.0 |
freme-project/Broker | src/main/java/eu/freme/broker/eservices/Pipelines.java | 19529 | /**
* Copyright (C) 2015 Agro-Know, Deutsches Forschungszentrum für Künstliche Intelligenz, iMinds,
* Institut für Angewandte Informatik e. V. an der Universität Leipzig,
* Istituto Superiore Mario Boella, Tilde, Vistatec, WRIPL (http://freme-project.eu)
*
* Licensed under the Apache License, Version 2.0 (the "Lic... | apache-2.0 |
maheshika/carbon-business-process | components/bpmn/org.wso2.carbon.bpmn/src/main/java/org/wso2/carbon/bpmn/core/internal/BPMNServiceComponent.java | 3411 | /**
* Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) 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... | apache-2.0 |
xsingHu/xs-android-architecture | study-view/xs-MPAndroidChartDemo/demo/src/main/java/com/xsing/demo/DemoBase.java | 1322 | package com.xsing.demo;
import android.graphics.Typeface;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentActivity;
/**
* Baseclass of all Activities of the Demo Application.
*
* @author Philipp Jahoda
*/
public abstract class DemoBase extends FragmentA... | apache-2.0 |
speedycontrol/googleapis | output/com/google/cloud/ml/api/v1beta1/ModelOrBuilder.java | 2745 | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/ml/v1beta1/model_service.proto
package com.google.cloud.ml.api.v1beta1;
public interface ModelOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.ml.v1beta1.Model)
com.google.protobuf.MessageOrBuilder ... | apache-2.0 |
twilking/wildfly-swarm | integration-tests/src/test/java/org/wildfly/swarm/integration/staticcontent/war/StaticContentWarTest.java | 2518 | /**
* Copyright 2015 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/licenses/LICENSE-2.0
*
* Unless required by ... | apache-2.0 |
angcyo/RLibrary | imagepicker/src/main/java/com/lzy/imagepicker/adapter/ImageViewHolder.java | 689 | package com.lzy.imagepicker.adapter;
import android.support.annotation.IdRes;
import android.support.v7.widget.RecyclerView;
import android.view.View;
/**
* Copyright (C) 2016,深圳市红鸟网络科技股份有限公司 All rights reserved.
* 项目名称:
* 类的描述:
* 创建人员:Robi
* 创建时间:2017/02/21 15:07
* 修改人员:Robi
* 修改时间:2017/02/21 15:07
* 修改备注:
... | apache-2.0 |
anton-johansson/ip-to-geolocation-service | src/main/java/com/antonjohansson/geolocation/framework/domain/SourceData.java | 859 | /**
* Copyright (c) Anton Johansson <antoon.johansson@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
*
* Unles... | apache-2.0 |
googleads/googleads-java-lib | modules/dfp_axis/src/main/java/com/google/api/ads/admanager/axis/v202102/ProspectiveLineItem.java | 13510 | // Copyright 2021 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... | apache-2.0 |
scify/JedAIToolkit | src/main/java/org/scify/jedai/textmodels/BagModel.java | 6720 | /*
* Copyright [2016-2020] [George Papadakis (gpapadis@yahoo.gr)]
*
* 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 require... | apache-2.0 |
zimmermatt/flink | flink-tests/src/test/java/org/apache/flink/test/manual/StreamingScalabilityAndLatency.java | 4805 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
mpi2/PhenotypeData | web/src/main/java/uk/ac/ebi/phenotype/chart/PercentileComputation.java | 2685 | /*******************************************************************************
* Copyright 2015 EMBL - European Bioinformatics Institute
*
* 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... | apache-2.0 |
jentfoo/aws-sdk-java | aws-java-sdk-kinesisanalyticsv2/src/main/java/com/amazonaws/services/kinesisanalyticsv2/model/transform/CheckpointConfigurationUpdateMarshaller.java | 3340 | /*
* 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... | apache-2.0 |
songzhw/SixUiViews | SixUiViews/lib/src/main/java/ca/six/views/util/ColorsUtil.java | 473 | package ca.six.views.util;
import android.graphics.Color;
public class ColorsUtil {
public static boolean isLight(int color) {
return Math.sqrt(
Color.red(color) * Color.red(color) * 0.241 +
Color.green(color) * Color.green(color) * 0.691 +
Color.blue(color) * Color.blue(color) *... | apache-2.0 |
tamalsen/vibur-dbcp | src/main/java/org/vibur/dbcp/cache/ReturnVal.java | 1964 | /**
* Copyright 2013 Simeon Malchev
*
* 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 ... | apache-2.0 |
ispras/NetBlox-plug-ins | graphMiners/GCE/src/minerGCE/GCEDescriptionParser.java | 2295 | package minerGCE;
import org.xml.sax.SAXException;
import ru.ispras.modis.NetBlox.parser.basicParsersAndUtils.Utils;
import ru.ispras.modis.NetBlox.parser.basicParsersAndUtils.XMLIntegerRangeStringProcessor;
import ru.ispras.modis.NetBlox.parser.xmlParser.CommonXMLParser;
import ru.ispras.modis.NetBlox.parser.xmlPars... | apache-2.0 |
RobAustin/byte-buddy | byte-buddy-dep/src/test/java/net/bytebuddy/instrumentation/method/bytecode/bind/MethodDelegationBinderAmbiguityResolverNoOpTest.java | 764 | package net.bytebuddy.instrumentation.method.bytecode.bind;
import net.bytebuddy.instrumentation.method.MethodDescription;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.mockito.Mockito.mock;
public class MethodDelegationBinde... | apache-2.0 |
vkostyukov/la4j | src/main/java/org/la4j/decomposition/EigenDecompositor.java | 27846 | /*
* Copyright 2011-2013, by Vladimir Kostyukov and Contributors.
*
* This file is part of la4j project (http://la4j.org)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* You may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | apache-2.0 |
jdgwartney/vsphere-ws | java/JAXWS/samples/com/vmware/vim25/VirtualSCSIController.java | 3215 |
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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for VirtualSCSIController co... | apache-2.0 |
Malanius/Terasology | engine/src/main/java/org/terasology/utilities/procedural/SimplexNoise.java | 19875 | /*
* Copyright 2013 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 |
qiuyesuifeng/mybatis-3 | src/test/java/org/apache/ibatis/submitted/cglib_lazy_error/CglibNPETest.java | 6189 | /**
* Copyright 2009-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
*
* Unle... | apache-2.0 |
hazendaz/assertj-core | src/test/java/org/assertj/core/error/ShouldBeBeforeYear_create_Test.java | 2438 | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | apache-2.0 |
HuangLS/neo4j | community/kernel/src/test/java/org/neo4j/kernel/configuration/TestConfig.java | 6899 | /*
* Copyright (c) 2002-2018 "Neo Technology,"
* Network Engine for Objects in Lund AB [http://neotechnology.com]
*
* This file is part of Neo4j.
*
* Neo4j is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundatio... | apache-2.0 |
glameyzhou/training | distribute/src/main/java/org/glamey/training/designmodel/responsibility_chain/Applicant.java | 315 | package org.glamey.training.designmodel.responsibility_chain;
import lombok.Builder;
import lombok.Getter;
import java.math.BigDecimal;
/**
* @author zhouyang.zhou. 2017.08.14.16.
*/
@Getter
@Builder
public class Applicant {
private String name;
private String subject;
private BigDecimal money;
}
| apache-2.0 |
icemagno/mapview | src/main/java/br/com/cmabreu/action/GetUnitDetailAction.java | 1116 | package br.com.cmabreu.action;
import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts2.StrutsStatics;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.InterceptorRef;
import org.apache.struts2.convention.anno... | apache-2.0 |
SingingTree/hapi-fhir | hapi-fhir-base/src/main/java/org/hl7/fhir/instance/model/api/IAnyResource.java | 1831 | package org.hl7.fhir.instance.model.api;
import ca.uhn.fhir.model.api.annotation.SearchParamDefinition;
import ca.uhn.fhir.rest.gclient.TokenClientParam;
/*
* #%L
* HAPI FHIR - Core Library
* %%
* Copyright (C) 2014 - 2021 Smile CDR, Inc.
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
*... | apache-2.0 |
NatashaPanchina/npanchina | chess/src/main/java/ru/job4j/chess/firuges/black/KnightBlack.java | 1234 | package ru.job4j.chess.firuges.black;
import ru.job4j.chess.ImpossibleMoveException;
import ru.job4j.chess.firuges.Figure;
import ru.job4j.chess.firuges.Cell;
/**
* Black Knight.
* @author Natasha Panchina (panchinanata25@gmail.com)
* @version 1
* @since 18.08.2018
*/
public class KnightBlack extends Figure {
... | apache-2.0 |
lvweiwolf/poi-3.16 | src/scratchpad/src/org/apache/poi/hemf/hemfplus/record/HemfPlusRecordType.java | 5033 | /* ====================================================================
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 Y... | apache-2.0 |
hanFengSan/light | app/src/main/java/com/yakami/light/view/fragment/AboutFragment.java | 958 | package com.yakami.light.view.fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.yakami.light.BuildConfig;
import com.yakami.light.R;
import com.yakami.light.view.fragment.base.BaseFragment;
impor... | apache-2.0 |
kalyanreddyemani/opencga | opencga-catalog/src/test/java/org/opencb/opencga/catalog/CatalogManagerTest.java | 89707 | /*
* Copyright 2015 OpenCB
*
* 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... | apache-2.0 |
adaptris/interlok | interlok-core/src/main/java/com/adaptris/util/text/mime/MimeUtils.java | 855 | package com.adaptris.util.text.mime;
import static com.adaptris.util.text.mime.MimeConstants.HEADER_CONTENT_ENCODING;
import static org.apache.commons.lang3.StringUtils.isBlank;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import javax.mail.MessagingException;
import j... | apache-2.0 |
cnagel/wcm-io-handler | media/src/test/java/io/wcm/handler/mediasource/dam/impl/DamAutoCroppingTest.java | 2026 | /*
* #%L
* wcm.io
* %%
* Copyright (C) 2019 wcm.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 required by ap... | apache-2.0 |
reinhard/daisy-integration | daisy-cocoon/src/main/java/com/indoqa/daisy/cocoon/controller/DocumentPartByPathController.java | 557 | package com.indoqa.daisy.cocoon.controller;
import org.apache.cocoon.rest.controller.annotation.SitemapParameter;
import org.apache.cocoon.rest.controller.response.RestResponse;
import org.apache.cocoon.rest.controller.response.URLResponse;
public class DocumentPartByPathController extends AbstractDocumentController ... | apache-2.0 |
libris/librisxl | gui-whelktool/src/main/java/whelk/gui/SelectScriptPanel.java | 2204 | package whelk.gui;
import whelk.PortableScript;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
public class SelectScriptPanel extends W... | apache-2.0 |
researchgate/metrics-statsd | metrics3-statsd/src/main/java/com/readytalk/metrics/StatsDReporter.java | 11572 | /**
* Copyright (C) 2013 metrics-statsd 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... | apache-2.0 |
abhishekshivanna/samza | samza-core/src/main/java/org/apache/samza/coordinator/metadatastore/CoordinatorStreamStore.java | 11941 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
lirui-apache/hive | standalone-metastore/metastore-common/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TruncateTableRequest.java | 33559 | /**
* Autogenerated by Thrift Compiler (0.14.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.hadoop.hive.metastore.api;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift ... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-alexaforbusiness/src/main/java/com/amazonaws/services/alexaforbusiness/model/transform/GetNetworkProfileRequestMarshaller.java | 2087 | /*
* 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... | apache-2.0 |
oehme/analysing-gradle-performance | my-app/src/main/java/org/gradle/test/performance/mediummonolithicjavaproject/p282/Production5650.java | 1891 | package org.gradle.test.performance.mediummonolithicjavaproject.p282;
public class Production5650 {
private String property0;
public String getProperty0() {
return property0;
}
public void setProperty0(String value) {
property0 = value;
}
private String property1;
... | apache-2.0 |
gaojice/diskviewer | src/main/java/com/gaojice/diskviewer/processor/FileProcessor.java | 1628 | package com.gaojice.diskviewer.processor;
import java.io.File;
import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
import com.gaojice.diskviewer.dao.DiskFileDao;
import com.gaojice.diskviewer.entity.DiskFile;
public class FileProcessor implements Runnable {
private DiskFileDao diskFileDao;
pr... | apache-2.0 |
tkao1000/pinot | pinot-common/src/main/java/com/linkedin/pinot/common/config/TableCustomConfig.java | 2332 | /**
* Copyright (C) 2014-2015 LinkedIn Corp. (pinot-core@linkedin.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
*
* Unle... | apache-2.0 |
motorina0/flowable-engine | modules/flowable-ui-idm/flowable-ui-idm-conf/src/main/java/org/flowable/app/servlet/ApiDispatcherServletConfiguration.java | 2846 | /* 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... | apache-2.0 |
haku/Onosendai | src/main/java/com/vaguehope/onosendai/payload/AddCommentPayload.java | 1811 | package com.vaguehope.onosendai.payload;
import android.content.Context;
import android.content.Intent;
import com.vaguehope.onosendai.config.Account;
import com.vaguehope.onosendai.model.Meta;
import com.vaguehope.onosendai.model.MetaType;
import com.vaguehope.onosendai.model.Tweet;
import com.vaguehope.onosendai.ui... | apache-2.0 |
PathVisio/pathvisio | modules/org.pathvisio.core/src/org/pathvisio/core/view/DefaultLinkAnchorDelegate.java | 2844 | /*******************************************************************************
* PathVisio, a tool for data visualization and analysis using biological pathways
* Copyright 2006-2019 BiGCaT Bioinformatics
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in c... | apache-2.0 |
blackcathacker/kc.preclean | coeus-it/src/test/java/org/kuali/kra/questionnaire/question/QuestionAuthorizationServiceTest.java | 2180 | /*
* Copyright 2005-2014 The Kuali Foundation
*
* Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php
*
* Unless required by... | apache-2.0 |
cocainism/Sham | FinalWeb/src/main/java/finalWeb/controller/MainController.java | 140 | package finalWeb.controller;
import org.springframework.stereotype.Controller;
@Controller
public class MainController {
}
| apache-2.0 |
obidea/semantika | src/main/java/com/obidea/semantika/database/datatype/SqlTypeToXmlType.java | 2978 | /*
* Copyright (c) 2013-2015 Josef Hardi <josef.hardi@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
*
* Unless requir... | apache-2.0 |
jbb-project/jbb | domain-services/jbb-system/src/main/java/org/jbb/system/impl/database/provider/H2InMemoryManager.java | 1603 | /*
* 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.system.impl.database.p... | apache-2.0 |
ZeitnotSWE/sHike | Codice/Web/src/main/java/com/wearit/shike/web/model/dao/weather/WeatherDao.java | 1519 | package com.wearit.shike.web.model.dao.weather;
import java.util.List;
import com.wearit.shike.web.model.weather.TrackWeather;
import com.wearit.shike.web.model.weather.Weather;
public interface WeatherDao {
/**
* Metodo che viene usato per elencare tutti i record appartenenti alla tabella
* Weather.
*
* @r... | apache-2.0 |
Chasego/kafka | streams/src/test/java/org/apache/kafka/streams/integration/StoreQueryIntegrationTest.java | 23416 | /*
* 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 n... | apache-2.0 |
multi-os-engine/moe-core | moe.apple/moe.platform.ios/src/main/java/apple/safariservices/SFContentBlockerManager.java | 6153 | /*
Copyright 2014-2016 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, s... | apache-2.0 |
googleads/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/admanager/jaxws/v202108/ThirdPartyMeasurementSettings.java | 13628 | // Copyright 2021 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... | apache-2.0 |
LAW-Unimi/BUbiNG | src/it/unimi/di/law/bubing/sieve/IdentitySieve.java | 2029 | package it.unimi.di.law.bubing.sieve;
/*
* Copyright (C) 2010-2017 Paolo Boldi, Massimo Santini, and Sebastiano Vigna
*
* 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://ww... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/DisassociateEnvironmentOperationsRoleRequest.java | 4243 | /*
* 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... | apache-2.0 |
aws/aws-sdk-java | aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/transform/DocumentDescriptionJsonUnmarshaller.java | 10561 | /*
* 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... | apache-2.0 |
mikevoxcap/spring4-sample | src/main/java/com/pluralsight/orderfulfillment/customer/Customer.java | 2192 | package com.pluralsight.orderfulfillment.customer;
/**
* Domain object for a Customer
*
* @author Michael Hoffman, Pluralsight
*
*/
public class Customer {
private long id;
private String firstName;
private String lastName;
private String email;
public Customer() {
}
public Customer(long... | apache-2.0 |
wkadzz/YbEg | app/src/main/java/com/example/wk/ybeg/fragment/GengDuo.java | 626 | package com.example.wk.ybeg.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.example.wk.ybeg.R;
/**
* Created by WK on 2016/11/25.
*/
public class GengDuo extends BaseFragment {
... | apache-2.0 |
Lihuanghe/CMPPGate | src/main/java/org/marre/mime/encoder/MimeEncoder.java | 3133 | /* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
... | apache-2.0 |
TranscendComputing/TopStackMetricSearch | src/com/transcend/monitor/transform/GetMetricStatisticsRequestUnmarshaller.java | 3650 | package com.transcend.monitor.transform;
import java.util.Date;
import java.util.Map;
import java.util.TimeZone;
import org.slf4j.Logger;
import com.msi.tough.core.Appctx;
import com.msi.tough.core.DateHelper;
import com.msi.tough.monitor.common.MonitorConstants;
import com.msi.tough.query.ErrorResponse;
import com.... | apache-2.0 |
eribeiro/kafka | clients/src/main/java/org/apache/kafka/clients/ClientUtils.java | 4919 | /**
* 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 us... | apache-2.0 |
bestdpf/2dbarcode | android/src/com/google/zxing/client/android/result/supplement/SupplementalInfoRetriever.java | 6505 | /*
* Copyright (C) 2010 ZXing 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 agr... | apache-2.0 |
mgargadennec/blossom | blossom-autoconfigure/src/main/java/com/blossomproject/autoconfigure/core/ActuatorAutoConfiguration.java | 2930 | package com.blossomproject.autoconfigure.core;
import com.blossomproject.core.common.actuator.ElasticsearchTraceRepository;
import com.blossomproject.core.common.actuator.ElasticsearchTraceRepositoryImpl;
import com.blossomproject.core.common.actuator.TraceStatisticsMvcEndpoint;
import com.fasterxml.jackson.databind.O... | apache-2.0 |
IHTSDO/snow-owl | dependencies/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/spi/common/id/AbstractCDOIDByteArray.java | 2099 | /*
* Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html... | apache-2.0 |
errorplayer/LaLa-Weather | app/src/main/java/com/errorplayer/lala_weather/db/City.java | 845 | package com.errorplayer.lala_weather.db;
import org.litepal.crud.DataSupport;
/**
* Created by linze on 2017/7/7.
*/
public class City extends DataSupport {
private int id;
private String cityName;
private int cityCode;
private int provinceId;
public int getId() {
return id;
}
... | apache-2.0 |
DevopsJK/SuitAgent | src/main/java/com/falcon/suitagent/web/Response.java | 2763 | /*
* www.yiji.com Inc.
* Copyright (c) 2016 All Rights Reserved
*/
package com.falcon.suitagent.web;
/*
* 修订记录:
* guqiu@yiji.com 2016-07-26 13:54 创建
*/
import com.falcon.suitagent.config.AgentConfiguration;
import com.falcon.suitagent.plugins.metrics.MetricsCommon;
import lombok.extern.slf4j.Slf4j;
import java.... | apache-2.0 |
konik32/openrest | openrest-filters/src/main/java/pl/openrest/filters/query/PredicateContextBuilder.java | 587 | package pl.openrest.filters.query;
import java.io.Serializable;
import org.springframework.data.mapping.PersistentProperty;
import pl.openrest.predicate.parser.FilterPart;
import pl.openrest.predicate.parser.PredicateParts;
public interface PredicateContextBuilder {
PredicateContextBuilder withFilterTree(Filte... | apache-2.0 |
inferred/freevisitor | src/it/j8/main/java/org/inferred/freevisitor/tests/j8/TypeA.java | 88 | package org.inferred.freevisitor.tests.j8;
public class TypeA extends VisitableType {}
| apache-2.0 |
frydsh/GoogleBody | src/com/google/android/apps/body/tdl/TdlMath.java | 2574 | // Copyright 2011 Google 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 applicable... | apache-2.0 |
SmartDeveloperHub/sdh-curator-connector | src/test/java/org/smartdeveloperhub/curator/connector/io/DeliveryChannelParserTest.java | 2998 | /**
* #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=#
* This file is part of the Smart Developer Hub Project:
* http://www.smartdeveloperhub.org/
*
* Center for Open Middleware
* http://www.centeropenmiddleware.com/
* #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=... | apache-2.0 |
OpenTOSCA/container | org.opentosca.planbuilder/org.opentosca.planbuilder.type.plugin.connectsto/src/main/java/org/opentosca/planbuilder/type/plugin/connectsto/core/ConfigureRelationsPlugin.java | 2350 | package org.opentosca.planbuilder.type.plugin.connectsto.core;
import java.util.List;
import java.util.Objects;
import org.eclipse.winery.model.tosca.TInterface;
import org.eclipse.winery.model.tosca.TNodeTemplate;
import org.eclipse.winery.model.tosca.TRelationshipTemplate;
import org.eclipse.winery.model.tosca.TRel... | apache-2.0 |
reinhard/indoqa-wadldoc-maven-plugin | src/test/java/com/indoqa/maven/wadldoc/transformation/Wadl2HtmlPipelineTest.java | 2549 | /*
* Licensed to Indoqa Software Design und Beratung GmbH (Indoqa)
* under one or more contributor license agreements. See the NOTICE
* file distributed with this work for additional information
* regarding copyright ownership. Indoqa licenses this file
* to you under the Apache License, Version 2.0 (the "Licens... | apache-2.0 |
Doun2017/StudyJavaCode | Chapter21Concurrency/app/src/main/java/com/example/doun/chapter21concurrency/ReaderWriterMapPack/MapData.java | 2044 | //: net/mindview/util/MapData.java
// A Map filled with data using a generator object.
package com.example.doun.chapter21concurrency.ReaderWriterMapPack;
//package net.mindview.util;
import java.util.*;
public class MapData<K, V> extends LinkedHashMap<K, V> {
// A single Pair Generator:
public MapData(Generat... | apache-2.0 |
thescouser89/pnc | indy-repository-manager/src/test/java/org/jboss/pnc/indyrepositorymanager/AllSessionUrlsForBuildAreAlikeTest.java | 2572 | /**
* JBoss, Home of Professional Open Source.
* Copyright 2014-2020 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... | apache-2.0 |
tsygipova/java_first | addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/TestBase.java | 542 | package ru.stqa.pft.addressbook.tests;
import org.openqa.selenium.remote.BrowserType;
import org.testng.annotations.AfterSuite;
import org.testng.annotations.BeforeSuite;
import ru.stqa.pft.addressbook.appmanager.ApplicationManager;
/**
* Created by Дарья on 03-Sep-16.
*/
public class TestBase {
protected static... | apache-2.0 |
lucasnoetzold/Viagens | src/java/com/rotoplastyc/util/NavDef.java | 641 | package com.rotoplastyc.util;
public class NavDef {
private final String i[];
public final static NavDef ERRO = new NavDef("err","mood_bad","ERRO");
public final static NavDef ERRO2 = new NavDef("err","mood","ERRO");
public NavDef(String contentPointer, String icon, String displayName) {
... | apache-2.0 |
ilgrosso/oldSyncopeIdM | client/src/main/java/org/syncope/types/CipherAlgorithm.java | 1137 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | apache-2.0 |
pepperonas/AndroidDemos | jsonlayout/src/test/java/io/celox/androiddemos/jsonlayout/ExampleUnitTest.java | 1014 | /*
* Copyright (c) 2017 Martin Pfeffer
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | apache-2.0 |
freeVM/freeVM | enhanced/archive/classlib/java6/modules/awt/src/main/java/common/java/awt/font/ShapeGraphicAttribute.java | 3798 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you... | apache-2.0 |
bobo159357456/bobo | android_project/ClassDemo02/app/src/main/java/com/jikexueyuan/classdemo/ClassDemo03.java | 365 | package com.jikexueyuan.classdemo;
/**
* Created by zmzp on 14-12-4.
*/
class Student{
public void tell(){
System.out.println("Hello Jikexueyuan");
}
}
public class ClassDemo03 {
public static void main(String[] args) {
// Student stu = new Student();
// stu.tell();
//匿名对象
... | apache-2.0 |
scottrichards/PolarionLive2015Android | ParseStarterProject/src/main/java/com/polarion/starter/utility/URLService.java | 511 | package com.polarion.starter.utility;
/**
* Created by scottrichards on 9/5/15.
*/
public class URLService extends Object {
private static String baseURL = "http://54.183.27.217";
// return url formed by adding the specified ending url to the base url
static public String buildUrl(String url) {
... | apache-2.0 |
CSCSI/Triana | triana-gui/src/main/java/org/trianacode/gui/help/UrlHistory.java | 4922 | /*
* The University of Wales, Cardiff Triana Project Software License (Based
* on the Apache Software License Version 1.1)
*
* Copyright (c) 2007 University of Wales, Cardiff. All rights reserved.
*
* Redistribution and use of the software in source and binary forms, with
* or without modification, are permitted... | apache-2.0 |
fmrsabino/library | src/bftsmart/demo/listvalue/BFTMapList.java | 2180 | /**
Copyright (c) 2007-2013 Alysson Bessani, Eduardo Alchieri, Paulo Sousa, and the authors indicated in 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 License at
http://www.apache.org/licen... | apache-2.0 |
vovagrechka/fucking-everything | phizdets/phizdets-idea/src/vgrechka/phizdetsidea/phizdets/inspections/unresolvedReference/package-info.java | 871 | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 |
dagnir/aws-sdk-java | aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/InputTransformer.java | 7772 | /*
* Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... | apache-2.0 |
springfox/springfox | swagger-contract-tests/src/main/java/springfox/test/contract/swagger/models/SameFancyPet.java | 976 | /*
*
* Copyright 2017 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... | apache-2.0 |
motorina0/flowable-engine | modules/flowable-engine/src/main/java/org/flowable/engine/impl/persistence/cache/EntityCacheImpl.java | 3610 | /* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | apache-2.0 |