repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
roberthafner/flowable-engine | modules/flowable5-engine/src/main/java/org/activiti5/engine/query/QueryProperty.java | 802 | /* 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 |
georgecodes/betamax | betamax-core/src/main/java/co/freeside/betamax/util/Network.java | 1151 | /*
* Copyright 2011 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 applicabl... | apache-2.0 |
mosoft521/wicket | wicket-core/src/test/java/org/apache/wicket/core/util/tester/WicketTesterCookieTest.java | 15710 | /*
* 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 |
rpinzon/kiji-schema | kiji-schema/src/main/java/org/kiji/schema/impl/hbase/HBaseMetaTable.java | 18178 | /**
* (c) Copyright 2012 WibiData, Inc.
*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | apache-2.0 |
chaostrigger/rl-library | projects/environments/experimental/mario/src/com/mojang/mario/sprites/Mario.java | 18645 | package com.mojang.mario.sprites;
import com.mojang.mario.Art;
import com.mojang.mario.Scene;
import com.mojang.mario.level.*;
import com.mojang.mario.LevelScene;
import com.mojang.sonar.FixedSoundSource;
import edu.rutgers.rl3.comp.mario.GlueMario;
public class Mario extends Sprite
{
public static boolean la... | apache-2.0 |
bither/bitherj | bitherj/src/main/java/net/bither/bitherj/core/DesktopHDMKeychain.java | 36554 | /*
*
* Copyright 2014 http://Bither.net
*
* 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 |
flofreud/aws-sdk-java | aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/transform/UserBucketStaxUnmarshaller.java | 2671 | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... | apache-2.0 |
AndroidX/androidx | leanback/leanback/src/androidTest/java/androidx/leanback/media/PlaybackTransportControlGlueTest.java | 13527 | /*
* Copyright (C) 2017 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... | apache-2.0 |
AndroidX/androidx | car/app/app-projected/src/test/java/androidx/car/app/hardware/common/CarHardwareHostDispatcherTest.java | 5196 | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 |
qixiaobo/glu | orchestration/org.linkedin.glu.orchestration-engine/src/main/java/org/linkedin/glu/orchestration/engine/delta/impl/RedeployDeltaSystemModelFilter.java | 1411 | /*
* Copyright (c) 2011 Yan Pujante
*
* 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 ... | apache-2.0 |
snorrees/artemis-odb | artemis-weaver/src/test/java/com/artemis/system/IteratingPoorFellowSystem.java | 332 | package com.artemis.system;
import com.artemis.Aspect;
import com.artemis.systems.IteratingSystem;
public final class IteratingPoorFellowSystem extends IteratingSystem {
public IteratingPoorFellowSystem(Aspect aspect) {
super(Aspect.all());
}
@Override
protected void process(int e) {
System.out.println("hel... | apache-2.0 |
jbank/aws-ant-tasks | src/main/java/com/amazonaws/ant/opsworks/CreateLayerTask.java | 19325 | /*
* Copyright 2014 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 "license" ... | apache-2.0 |
AndroidX/androidx | mediarouter/mediarouter/src/main/java/androidx/mediarouter/media/MediaRouteProviderProtocol.java | 10793 | /*
* Copyright (C) 2013 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... | apache-2.0 |
mozilla/mentat | sdks/android/Mentat/library/src/main/java/org/mozilla/mentat/ScalarResultHandler.java | 869 | /* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
* Copyright 2018 Mozilla
* 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/LICEN... | apache-2.0 |
mxm/incubator-beam | runners/google-cloud-dataflow-java/worker/src/test/java/org/apache/beam/runners/dataflow/worker/fn/logging/BeamFnLoggingServiceTest.java | 9466 | /*
* 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 |
imasahiro/armeria | core/src/main/java/com/linecorp/armeria/server/GracefulShutdownSupport.java | 5198 | /*
* Copyright 2017 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | apache-2.0 |
vineetgarg02/hive | service/src/java/org/apache/hive/service/auth/AuthenticationProviderFactory.java | 2894 | /*
* 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 |
52nlp/webanno | webanno-webapp/src/main/java/de/tudarmstadt/ukp/clarin/webanno/webapp/page/annotation/component/DocumentNamePanel.java | 2969 | /*******************************************************************************
* Copyright 2012
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | apache-2.0 |
DavidHerzogTU-Berlin/cassandraToRun | interface/thrift/gen-java/org/apache/cassandra/thrift/SlicePredicate.java | 18424 | /**
* Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.cassandra.thrift;
import org.apache.thrift.scheme.IScheme;
import org.apache.thrift.scheme.SchemeFactory;
import org.apache.thrift.scheme.StandardScheme;
import ... | apache-2.0 |
meitar/zaproxy | zap/src/main/java/org/parosproxy/paros/core/scanner/MultipartFormParameter.java | 1709 | /*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2017 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.
* Yo... | apache-2.0 |
apache/jackrabbit | jackrabbit-spi-commons/src/main/java/org/apache/jackrabbit/spi/commons/query/ExactQueryNode.java | 2996 | /*
* 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 |
nybbs2003/jsyn | tests/com/jsyn/examples/SawFaders.java | 3373 | /*
* Copyright 2010 Phil Burk, Mobileer 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... | apache-2.0 |
wso2/carbon-storage-management | components/rss-manager/org.wso2.carbon.rssmanager.core/src/main/java/org/wso2/carbon/rssmanager/core/environment/dao/impl/DatabasePrivilegeTemplateEntryDAOImpl.java | 10687 | /*
* Copyright (c) 2013, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... | apache-2.0 |
papicella/snappy-store | tests/sql/src/main/java/sql/tpce/entity/DailyMarketPK.java | 2000 | /*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... | apache-2.0 |
papicella/snappy-store | gemfirexd/core/src/main/java/com/pivotal/gemfirexd/internal/impl/sql/execute/StatementPlanCollector.java | 66502 | /*
* Copyright (c) 2010-2015 Pivotal Software, 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 req... | apache-2.0 |
smgoller/geode | geode-core/src/main/java/org/apache/geode/security/ResourcePermission.java | 6820 | /*
* 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 ... | apache-2.0 |
wgpshashank/aerospike-client-java | test/src/com/aerospike/test/sync/large/TestLargeSet.java | 1695 | /*
* Copyright 2012-2015 Aerospike, Inc.
*
* Portions may be licensed to Aerospike, Inc. under one or more contributor
* license agreements WHICH ARE COMPATIBLE WITH THE APACHE LICENSE, VERSION 2.0.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in complian... | apache-2.0 |
vmorsiani/jabbot | extensions/jabbot-jira-extensions/src/test/java/org/wanna/jabbot/extensions/jira/IssueParserTest.java | 1820 | package org.wanna.jabbot.extensions.jira;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import org.wanna.jabbot.extensions.jira.binding.Issue;
import jav... | artistic-2.0 |
Sethtroll/runelite | runelite-client/src/main/java/net/runelite/client/plugins/skillcalculator/SkillCalculatorPanel.java | 3641 | /*
* Copyright (c) 2018, Kruithne <kruithne@gmail.com>
* Copyright (c) 2018, Psikoi <https://github.com/psikoi>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of so... | bsd-2-clause |
clearthesky/apk-parser | src/main/java/net/dongliu/apk/parser/struct/zip/EOCD.java | 1985 | package net.dongliu.apk.parser.struct.zip;
/**
* End of central directory record
*/
public class EOCD {
public static final int SIGNATURE = 0x06054b50;
// private int signature;
// Number of this disk
private short diskNum;
// Disk where central directory starts
private short cdStartDisk;
... | bsd-2-clause |
steffeli/inf5750-tracker-capture | dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/java/org/hisp/dhis/dd/action/dataelement/GetDataElementListAction.java | 5884 | package org.hisp.dhis.dd.action.dataelement;
/*
* Copyright (c) 2004-2015, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must r... | bsd-3-clause |
codemercenary/JMatIO | src/main/java/ca/mjdsystems/jmatio/io/MLObjectPlaceholder.java | 863 | /*
* Copyright 2014 Matthew Dawson <matthew@mjdsystems.ca>
*/
package ca.mjdsystems.jmatio.io;
import ca.mjdsystems.jmatio.types.MLArray;
import java.util.Arrays;
/**
*
* @author Matthew Dawson <matthew@mjdsystems.ca>
*/
class MLObjectPlaceholder extends MLArray {
MLObjectPlaceholder(String name, String cla... | bsd-3-clause |
ngs-doo/dsl-json | library/src/test/java/com/dslplatform/json/generated/types/Money/OneListOfOneMoniesDefaultValueTurtle.java | 3268 | package com.dslplatform.json.generated.types.Money;
import com.dslplatform.json.generated.types.StaticJson;
import com.dslplatform.json.generated.ocd.javaasserts.MoneyAsserts;
import java.io.IOException;
public class OneListOfOneMoniesDefaultValueTurtle {
private static StaticJson.JsonSerialization jsonSerializat... | bsd-3-clause |
ezegarra/microbrowser | src/prefuse/data/io/CSVTableReader.java | 4951 | package prefuse.data.io;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import prefuse.data.parser.DataParseException;
import prefuse.data.parser.ParserFactory;
/**
* TableReader for Comma Separated Value (CSV) files. CSV files list
* each r... | bsd-3-clause |
jnehlmeier/threetenbp | src/main/java/org/threeten/bp/temporal/ChronoField.java | 29480 | /*
* Copyright (c) 2007-present, Stephen Colebourne & Michael Nascimento Santos
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the abov... | bsd-3-clause |
hispindia/dhis2-Core | dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/help/HelpManager.java | 5134 | /*
* Copyright (c) 2004-2022, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of cond... | bsd-3-clause |
wjkohnen/antlr4 | tool/src/org/antlr/v4/codegen/model/ElementFrequenciesVisitor.java | 8306 | /*
* Copyright (c) 2012-2016 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
package org.antlr.v4.codegen.model;
import org.antlr.runtime.tree.TreeNodeStream;
import org.antlr.v4.misc.FrequencySe... | bsd-3-clause |
dhis2/dhis2-core | dhis-2/dhis-services/dhis-service-dxf2/src/main/java/org/hisp/dhis/dxf2/events/event/csv/DefaultCsvEventService.java | 7551 | /*
* Copyright (c) 2004-2022, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of cond... | bsd-3-clause |
navalev/azure-sdk-for-java | sdk/cognitiveservices/ms-azure-cs-newssearch/src/main/java/com/microsoft/azure/cognitiveservices/search/newssearch/models/MediaObject.java | 1987 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.cognitiveservices.search.newssearch.models;
import com.fast... | mit |
Peter-Maximilian/settlers-remake | jsettlers.mapcreator/src/main/java/jsettlers/mapcreator/tools/shapes/EShapeType.java | 2524 | /*******************************************************************************
* Copyright (c) 2015 - 2016
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including... | mit |
rango1900/MindTrails | templeton/src/main/java/edu/virginia/psyc/templeton/controller/GraphController.java | 4387 | package edu.virginia.psyc.templeton.controller;
import edu.virginia.psyc.templeton.domain.TempletonStudy;
import edu.virginia.psyc.templeton.persistence.ExpectancyBias;
import edu.virginia.psyc.templeton.persistence.ExpectancyBiasRepository;
import org.apache.commons.math3.stat.regression.SimpleRegression;
import org.... | mit |
anudeepsharma/azure-sdk-for-java | azure-batch/src/main/java/com/microsoft/azure/batch/protocol/models/PoolGetOptions.java | 7771 | /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.batch.protocol.models;
import com.microsoft.rest.DateTimeRf... | mit |
rafaneri/upm | examples/java/MMA7660Sample.java | 2264 | /*
* Author: Stefan Andritoiu <stefan.andritoiu@intel.com>
* Copyright (c) 2015 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* wi... | mit |
rherlt/HWR-Berlin-OOP2-2016 | src/eclipse_workspace/09_HelloBeerApi/HttpclientLib/httpcomponents-client-4.5.2/examples/org/apache/http/examples/client/ClientPreemptiveBasicAuthentication.java | 4095 | /*
* ====================================================================
* 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 ... | mit |
riuvshin/che-plugins | plugin-angularjs/core/client/src/main/java/org/eclipse/che/plugin/angularjs/core/client/javascript/contentassist/JavaScriptContentAssistProvider.java | 1209 | /*******************************************************************************
* Copyright (c) 2014 Codenvy, S.A.
* 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
*... | epl-1.0 |
simleo/openmicroscopy | components/blitz/src/omero/gateway/util/PojoMapper.java | 29487 | /*
*------------------------------------------------------------------------------
* Copyright (C) 2006-2017 University of Dundee. All rights reserved.
*
*
* This program 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 ... | gpl-2.0 |
TEC-Foundation/TEC-COMM | app/src/androidTest/java/com/nicholastmosher/easycom/ApplicationTest.java | 360 | package com.nicholastmosher.easycom;
import android.app.Application;
import android.test.ApplicationTestCase;
/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
... | gpl-2.0 |
AdmireTheDistance/android_libcore | luni/src/test/java/libcore/java/util/regex/OldMatcherTest.java | 22491 | /*
* 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... | gpl-2.0 |
LiHaoTan/teammates | src/main/java/teammates/ui/controller/InstructorStudentListPageAction.java | 2797 | package teammates.ui.controller;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import teammates.common.datatransfer.attributes.CourseAttributes;
import teammates.common.datatransfer.attributes.InstructorAttributes;
import teammates.comm... | gpl-2.0 |
smalyshev/blazegraph | bigdata/src/java/com/bigdata/striterator/PushbackIterator.java | 2239 | package com.bigdata.striterator;
import java.util.Iterator;
import java.util.NoSuchElementException;
import cutthecrap.utils.striterators.ICloseableIterator;
/**
* Allows pushback of the most recently visited element onto the iterator.
* <p>
* Note: There is no corresponding {@link IFilter} pattern for this clas... | gpl-2.0 |
jdahaldev/itsimple | src/gui/InnerFrame.java | 30854 | /***
* itSIMPLE: Integrated Tool Software Interface for Modeling PLanning Environments
*
* Copyright (C) 2007,2008 Universidade de Sao Paulo
*
* This file is part of itSIMPLE.
*
* itSIMPLE is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
... | gpl-3.0 |
SKCraft/Applied-Energistics-2 | src/main/java/appeng/core/features/FeaturedActiveChecker.java | 1304 | /*
* This file is part of Applied Energistics 2.
* Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
*
* Applied Energistics 2 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 ver... | gpl-3.0 |
virtoja13/Program2 | projects/PSP01/src/main/java/edu/uniandes/ecos/loc/DatosClase.java | 1116 | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package edu.uniandes.ecos.loc;
/**
*
* @author JAVIER
*/
public class DatosClase {
private String NombreClase;
private... | gpl-3.0 |
vhiribarren/Anki-Android | AnkiDroid/src/main/java/com/ichi2/anki/widgets/DeckAdapter.java | 12220 | /****************************************************************************************
* Copyright (c) 2015 Houssam Salem <houssam.salem.au@gmail.com> *
* *
* This program is free software; you can redistri... | gpl-3.0 |
BorderTech/wcomponents | wcomponents-core/src/main/java/com/github/bordertech/wcomponents/autocomplete/AutocompleteableURL.java | 781 | package com.github.bordertech.wcomponents.autocomplete;
import com.github.bordertech.wcomponents.autocomplete.type.Url;
/**
* Specific {@code autocomplete} attribute values for controls in the
* <a href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#control-group-url" target="_blank">url c... | gpl-3.0 |
sanjupolus/KC6.oLatest | coeus-impl/src/main/java/org/kuali/coeus/sys/framework/scheduling/ScheduleService.java | 7393 | /*
* Kuali Coeus, a comprehensive research administration system for higher education.
*
* Copyright 2005-2015 Kuali, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, eithe... | agpl-3.0 |
fhuertas/torodb | torod/torod-core/src/main/java/com/torodb/torod/core/subdocument/values/TimeValue.java | 2187 | /*
* This file is part of ToroDB.
*
* ToroDB is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ... | agpl-3.0 |
fhuertas/torodb | torod/torod-core/src/main/java/com/torodb/torod/core/language/querycriteria/ModIsQueryCriteria.java | 3111 | /*
* This file is part of ToroDB.
*
* ToroDB is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ... | agpl-3.0 |
DFieldFL/modeler | core/src/main/java/org/pentaho/agilebi/modeler/ModelerTreeHelper.java | 7286 | /*!
* This program is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software
* Foundation.
*
* You should have received a copy of the GNU Lesser General Public License along with this
* program; if not, you ... | lgpl-2.1 |
liujed/polyglot-eclipse | src/polyglot/types/UnknownQualifier_c.java | 2085 | /*******************************************************************************
* This file is part of the Polyglot extensible compiler framework.
*
* Copyright (c) 2000-2012 Polyglot project group, Cornell University
* Copyright (c) 2006-2012 IBM Corporation
* All rights reserved.
*
* This program and the acco... | lgpl-2.1 |
pwrose/biojava | biojava-core/src/main/java/org/biojava/nbio/core/util/InputStreamProvider.java | 6936 | /*
* BioJava development code
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. If you do not have a copy,
* see:
*
* http://www.gnu.org/copyleft/lesser.html
*
* Copyright for thi... | lgpl-2.1 |
marclaporte/jitsi | src/net/java/sip/communicator/service/protocol/media/ConferenceInfoDocument.java | 43708 | /*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.service.protocol.media;
import net.java.sip.communicator.util.*;
import org.jitsi.util.xml.*;
import org.w3c.dom.*;
import javax.xml.par... | lgpl-2.1 |
Alfresco/community-edition | projects/web-client/source/java/org/alfresco/web/bean/generator/SpaceIconPickerGenerator.java | 4523 | /*
* #%L
* Alfresco Repository WAR Community
* %%
* Copyright (C) 2005 - 2016 Alfresco Software Limited
* %%
* This file is part of the Alfresco software.
* If the software was purchased under a paid Alfresco license, the terms of
* the paid license agreement will prevail. Otherwise, the software is
* prov... | lgpl-3.0 |
gauravpuri/MDP_Repp | src/burlap/behavior/singleagent/planning/deterministic/informed/astar/StaticWeightedAStar.java | 2820 | package burlap.behavior.singleagent.planning.deterministic.informed.astar;
import burlap.oomdp.auxiliary.stateconditiontest.StateConditionTest;
import burlap.behavior.singleagent.planning.deterministic.informed.Heuristic;
import burlap.behavior.singleagent.planning.deterministic.informed.PrioritizedSearchNode;
import ... | lgpl-3.0 |
codev777/spring-boot-all | spring-boot-samples/src/test/java/com/lance/AppTest.java | 637 | package com.lance;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( Strin... | apache-2.0 |
cgpllx/SettingView_Old | SettingViewLibrary/src/com/dtr/settingview/lib/entity/SettingViewItemData.java | 716 | package com.dtr.settingview.lib.entity;
import android.widget.FrameLayout;
public class SettingViewItemData {
private int id;
private FrameLayout itemView;
private SettingData data;
private boolean isClickable = true;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
publi... | apache-2.0 |
axbing/weex | android/sdk/src/main/java/com/taobao/weex/ui/view/WXBackgroundDrawable.java | 15183 | /**
* Copyright (c) 2015-present, Facebook, Inc. All rights reserved.
* This source code is licensed under the BSD-style license found in the LICENSE file in the root
* directory of this source tree. An additional grant of patent rights can be found in the PATENTS
* file in the same directory.
*/
package com.taoba... | apache-2.0 |
stewartpark/presto | presto-kafka/src/main/java/com/facebook/presto/kafka/KafkaRecordSetProvider.java | 3639 | /*
* 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 |
luckyyeah/YiDu-Novel | src/main/java/org/yidu/novel/bean/ReplaceKeywordsBean.java | 491 | package org.yidu.novel.bean;
public class ReplaceKeywordsBean {
private String key;
private String value;
private Boolean replaced;
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public String getValue() {
return value;
}
public void setValue(String ... | apache-2.0 |
apereo/cas | support/cas-server-support-trusted-mfa-core/src/main/java/org/apereo/cas/trusted/authentication/MultifactorAuthenticationTrustedDeviceNamingStrategy.java | 1821 | package org.apereo.cas.trusted.authentication;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.services.RegisteredService;
import lombok.val;
import org.apereo.inspektr.common.web.ClientInfoHolder;
import javax.servlet.http.HttpServle... | apache-2.0 |
gcoders/gerrit | gerrit-gwtexpui/src/main/java/com/google/gwtexpui/linker/server/UserAgentRule.java | 2547 | // Copyright (C) 2009 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 applicable ... | apache-2.0 |
WilliamNouet/nifi | nifi-commons/nifi-data-provenance-utils/src/main/java/org/apache/nifi/provenance/FileBasedKeyProvider.java | 2913 | /*
* 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 |
baldimir/optaplanner | optaplanner-examples/src/main/java/org/optaplanner/examples/meetingscheduling/domain/Person.java | 1227 | /*
* Copyright 2015 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 ap... | apache-2.0 |
forGGe/kaa | client/client-multi/client-java-core/src/test/java/org/kaaproject/kaa/client/notification/DefaultNotificationManagerTest.java | 24448 | /*
* Copyright 2014-2016 CyberVision, 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 o... | apache-2.0 |
jinglining/flink | flink-runtime-web/src/test/java/org/apache/flink/runtime/webmonitor/WebFrontendITCase.java | 15038 | /*
* 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 |
sesuncedu/elk-reasoner | elk-reasoner/src/main/java/org/semanticweb/elk/reasoner/indexing/conversion/ElkUnexpectedIndexingException.java | 1505 | package org.semanticweb.elk.reasoner.indexing.conversion;
import org.semanticweb.elk.reasoner.indexing.hierarchy.IndexedObject;
/*
* #%L
* ELK Reasoner
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2011 - 2013 Department of Computer Science, University of Oxford
* %%
* Licensed under the Apache License, Version 2... | apache-2.0 |
RanjithKumar5550/RanMifos | fineract-provider/src/main/java/org/apache/fineract/accounting/glaccount/handler/UpdateGLAccountCommandHandler.java | 1997 | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | apache-2.0 |
ksfzhaohui/spring-loaded | testdata/src/main/java/proxy/three/TestInvocationHandlerA1.java | 820 | package proxy.three;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
public class TestInvocationHandlerA1 implements InvocationHandler {
// Object obj;
public TestInvocationHandlerA1() {
// this.obj = obj;
}
public Object invoke(Object proxy, Met... | apache-2.0 |
rameshvoltella/AndroidViewUtils | library/src/main/java/com/sage42/android/view/fonts/MyToggleButton.java | 1996 | package com.sage42.android.view.fonts;
import android.content.Context;
import android.graphics.Typeface;
import android.util.AttributeSet;
import android.widget.ToggleButton;
/**
* Copyright (C) 2013- Sage 42 App Sdn Bhd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this fi... | apache-2.0 |
maheshika/product-ss | modules/samples/css/CLI/css-ks-keycounter/src/main/java/org/wso2/carbon/cassandra/sample/keycounter/KSUtils.java | 1873 | /*
* Copyright (c) 2005-2012, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://... | apache-2.0 |
sijie/bookkeeper | stream/distributedlog/core/src/test/java/org/apache/distributedlog/zk/TestZKTransaction.java | 3522 | /**
* 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 |
rorogarcete/jbpm-console-ng | jbpm-console-ng-executor-service/jbpm-console-ng-executor-service-client/src/main/java/org/jbpm/console/ng/es/client/resources/ShowcaseResources.java | 1293 | /*
* Copyright 2010 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... | apache-2.0 |
meggermo/jackrabbit-oak | oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/osgi/SolrQueryIndexProviderService.java | 4484 | /*
* 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 |
sanlingdd/broadleaf | core/broadleaf-framework/src/main/java/org/broadleafcommerce/core/search/domain/CategoryExcludedSearchFacetImpl.java | 3587 | /*
* #%L
* BroadleafCommerce Framework
* %%
* Copyright (C) 2009 - 2013 Broadleaf Commerce
* %%
* 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... | apache-2.0 |
PlayFab/JavaSDK | PlayFabServerSDK/src/main/java/com/playfab/PlayFabGroupsAPI.java | 74401 | package com.playfab;
import com.playfab.internal.*;
import com.playfab.PlayFabGroupsModels.*;
import com.playfab.PlayFabErrors.*;
import com.playfab.PlayFabSettings;
import java.util.concurrent.*;
import java.util.*;
import com.google.gson.*;
import com.google.gson.reflect.*;
/**
* The Groups API is designed... | apache-2.0 |
dhalperi/batfish | projects/batfish-common-protocol/src/main/java/org/batfish/datamodel/FibNullRoute.java | 574 | package org.batfish.datamodel;
import org.batfish.datamodel.visitors.FibActionVisitor;
/** A {@link FibAction} that discards a packet. */
public final class FibNullRoute implements FibAction {
public static final FibNullRoute INSTANCE = new FibNullRoute();
private FibNullRoute() {}
@Override
public boolean... | apache-2.0 |
chtyim/cdap | cdap-watchdog/src/main/java/co/cask/cdap/logging/save/CheckpointingLogFileWriter.java | 3351 | /*
* Copyright © 2014 Cask Data, 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 t... | apache-2.0 |
goldmansachs/reladomo | reladomo/src/main/java/com/gs/fw/common/mithra/behavior/persisted/PersistedSameTxBehavior.java | 11896 | /*
Copyright 2016 Goldman Sachs.
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... | apache-2.0 |
ameybarve15/incubator-geode | gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/wan/AbstractGatewaySenderEventProcessor.java | 47967 | /*=========================================================================
* Copyright (c) 2010-2014 Pivotal Software, Inc. All Rights Reserved.
* This product is protected by U.S. and international copyright
* and intellectual property laws. Pivotal products are covered by
* one or more patents listed at http://w... | apache-2.0 |
camunda/camunda-bpm-platform | engine/src/main/java/org/camunda/bpm/engine/impl/persistence/entity/DelayedVariableEvent.java | 1465 | /*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file to you under the Apache License,
* Version 2.0; y... | apache-2.0 |
goodwinnk/intellij-community | platform/lang-impl/src/com/intellij/ide/navigationToolbar/NavBarModel.java | 10626 | /*
* Copyright 2000-2017 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 |
XidongHuang/aws-sdk-for-java | src/main/java/com/amazonaws/services/cloudfront/model/transform/GetDistributionResultStaxUnmarshaller.java | 2532 | /*
* Copyright 2010-2012 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 "l... | apache-2.0 |
zwets/flowable-engine | modules/flowable-engine/src/test/java/org/flowable/engine/test/api/runtime/RuntimeVariablesTest.java | 6602 | /* 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 |
onders86/camel | camel-core/src/test/java/org/apache/camel/main/MainVetoTest.java | 2265 | /**
* 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 |
spring-projects/spring-boot | spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/cache/CachesEndpointTests.java | 7880 | /*
* Copyright 2012-2022 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... | apache-2.0 |
rpiotti/Web-Karma | karma-cleaning/src/main/java/edu/isi/karma/cleaning/QuestionableRecord/Feature3.java | 1737 | /*******************************************************************************
* Copyright 2012 University of Southern California
*
* 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 |
dashbuilder/dashbuilder | dashbuilder-client/dashbuilder-navigation-client/src/main/java/org/dashbuilder/client/navigation/NavigationManager.java | 1227 | /*
* Copyright 2016 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 a... | apache-2.0 |
nvoron23/presto | presto-tests/src/main/java/com/facebook/presto/tests/tpch/TpchIndexResolver.java | 8050 | /*
* 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 |
gingerwizard/elasticsearch | modules/ingest-common/src/test/java/org/elasticsearch/ingest/common/KeyValueProcessorTests.java | 13632 | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | apache-2.0 |
jonathanstiansen/storm-crawler | core/src/main/java/com/digitalpebble/storm/crawler/ConfigurableTopology.java | 3941 | /**
* Licensed to DigitalPebble Ltd under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* DigitalPebble licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this... | apache-2.0 |