repo_name stringlengths 5 108 | path stringlengths 6 333 | size stringlengths 1 6 | content stringlengths 4 977k | license stringclasses 15
values |
|---|---|---|---|---|
sebbrudzinski/motech | platform/mds/mds/src/main/java/org/motechproject/mds/filter/DateFilterValue.java | 1408 | package org.motechproject.mds.filter;
import org.joda.time.DateMidnight;
import org.joda.time.DateTime;
import org.motechproject.commons.date.util.DateUtil;
import java.util.Arrays;
import java.util.List;
/**
* Represents Date values used for filtering data in MDS Data Browser.
* Provides proper value, param and o... | bsd-3-clause |
LeonidShamis/XChange | xchange-bittrex/src/main/java/org/knowm/xchange/bittrex/dto/account/BittrexBalance.java | 2375 | package org.knowm.xchange.bittrex.dto.account;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.math.BigDecimal;
public class BittrexBalance {
private BigDecimal available;
private BigDecimal balance;
private String cryptoAddress;
private String currency;
private BigDecimal pending;
priv... | mit |
sakim/snownote | org.eclipse.epf.richtext/src/org/eclipse/epf/richtext/preferences/RichTextPreferencesInitializer.java | 1240 | //------------------------------------------------------------------------------
// Copyright (c) 2005, 2006 IBM Corporation 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, an... | epl-1.0 |
evidolob/che | plugins/plugin-svn/che-plugin-svn-ext-server/src/main/java/org/eclipse/che/plugin/svn/server/upstream/CommandLineOutputProcessor.java | 1247 | /*******************************************************************************
* Copyright (c) 2012-2016 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 ... | epl-1.0 |
md-5/jdk10 | src/java.base/share/classes/java/net/ConnectException.java | 2077 | /*
* Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
itzamnamx/AdempiereFS | base/src/org/eevolution/model/X_C_TaxGroup.java | 4645 | /******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software, you can redistribute it and/or modify it *
... | gpl-2.0 |
YouDiSN/OpenJDK-Research | jdk9/hotspot/src/jdk.internal.vm.ci/share/classes/module-info.java | 1666 | /*
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | gpl-2.0 |
qtekfun/htcDesire820Kernel | external/proguard/src/proguard/shrink/ShortestUsagePrinter.java | 7406 | /*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2009 Eric Lafortune (eric@graphics.cornell.edu)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as publ... | gpl-2.0 |
Jenyay/tasks | src/main/java/com/todoroo/astrid/gtasks/api/GtasksApiUtilities.java | 2230 | /**
* Copyright (c) 2012 Todoroo Inc
*
* See the file "LICENSE" for the full license governing this code.
*/
package com.todoroo.astrid.gtasks.api;
import com.google.api.client.util.DateTime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Date;
import java.util.TimeZone;
import static... | gpl-3.0 |
mru00/jade_agents | src/jade/content/abs/AbsObject.java | 2714 | /**
* ***************************************************************
* JADE - Java Agent DEvelopment Framework is a framework to develop
* multi-agent systems in compliance with the FIPA specifications.
* Copyright (C) 2000 CSELT S.p.A.
*
* GNU Lesser General Public License
*
* This library is free s... | lgpl-2.1 |
archeng504/yammp | src/org/yammp/fragment/GenreFragment.java | 5204 | /*
* YAMMP - Yet Another Multi Media Player for android
* Copyright (C) 2011-2012 Mariotaku Lee <mariotaku.lee@gmail.com>
*
* This file is part of YAMMP.
*
* YAMMP 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 Sof... | lgpl-3.0 |
marieke-bijlsma/molgenis | molgenis-data/src/test/java/org/molgenis/data/support/UuidGeneratorTest.java | 483 | package org.molgenis.data.support;
import static org.testng.Assert.assertEquals;
import java.util.HashSet;
import java.util.Set;
import org.testng.annotations.Test;
public class UuidGeneratorTest
{
private final UuidGenerator uuidGenerator = new UuidGenerator();
@Test
public void generateId()
{
Set<String> i... | lgpl-3.0 |
thiliniish/developer-studio | esb/org.wso2.developerstudio.eclipse.gmf.esb.persistence/src/org/wso2/developerstudio/eclipse/gmf/esb/internal/persistence/BeanMediatorTransformer.java | 4887 | /*
* Copyright 2012 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 ... | apache-2.0 |
antz29/closure-compiler | test/com/google/javascript/jscomp/ScopedAliasesTest.java | 12851 | /*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 |
GabrielBrascher/cloudstack | services/console-proxy/rdpconsole/src/main/java/common/opt/UnknownOptionException.java | 1025 | // 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 |
dongaihua/highlight-elasticsearch | src/main/java/org/elasticsearch/index/store/fs/NioFsIndexStore.java | 1695 | /*
* Licensed to ElasticSearch and Shay Banon 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... | apache-2.0 |
wsargent/playframework | framework/src/play/src/main/java/play/inject/DelegateApplicationLifecycle.java | 782 | /*
* Copyright (C) 2009-2017 Lightbend Inc. <https://www.lightbend.com>
*/
package play.inject;
import javax.inject.Inject;
import javax.inject.Singleton;
import java.util.concurrent.Callable;
import java.util.concurrent.CompletionStage;
@Singleton
public class DelegateApplicationLifecycle implements ApplicationLif... | apache-2.0 |
lindzh/incubator-rocketmq | test/src/main/java/org/apache/rocketmq/test/clientinterface/MQConsumer.java | 985 | /*
* 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 |
godghdai/mp4parser-1 | isoparser/src/test/java/com/googlecode/mp4parser/authoring/tracks/DTSTrackImplTest.java | 1913 | package com.googlecode.mp4parser.authoring.tracks;
import com.coremedia.iso.IsoFile;
import com.coremedia.iso.boxes.Container;
import com.googlecode.mp4parser.FileDataSourceImpl;
import com.googlecode.mp4parser.authoring.Movie;
import com.googlecode.mp4parser.authoring.Track;
import com.googlecode.mp4parser.authoring.... | apache-2.0 |
sushilsingh94/AppLocker-1 | src/com/twinone/locker/lock/LockPreferences.java | 5562 | /*
* Copyright 2014 Luuk Willemsen (Twinone)
* 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 |
mycFelix/heron | heron/tools/apiserver/tests/java/org/apache/heron/apiserver/resources/TopologyResourceTests.java | 7724 | /**
* 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 |
dineshkummarc/Gitak_r982 | server/selenium-remote-control-1.0.3/selenium-server/org/openqa/jetty/jetty/servlet/ServletHttpRequest.java | 27149 | // ========================================================================
// $Id: ServletHttpRequest.java,v 1.65 2005/08/13 00:01:27 gregwilkins Exp $
// Copyright 200-2004 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// Licensed under the Apache License, V... | apache-2.0 |
thiliniish/developer-studio | esb/org.wso2.developerstudio.eclipse.gmf.esb.edit/src/org/wso2/developerstudio/eclipse/gmf/esb/provider/URLRewriteMediatorInputConnectorItemProvider.java | 3071 | /**
* <copyright>
* </copyright>
*
* $Id$
*/
package org.wso2.developerstudio.eclipse.gmf.esb.provider;
import java.util.Collection;
import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.edit.provider.IEditingDomain... | apache-2.0 |
selkhateeb/closure-compiler | test/com/google/javascript/jscomp/PolymerPassFindExternsTest.java | 4193 | /*
* Copyright 2016 The Closure Compiler Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | apache-2.0 |
Ethanlm/hadoop | hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/Crc32PerformanceTest.java | 13854 | /**
* 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 |
OpenCollabZA/sakai | profile2/tool/src/java/org/sakaiproject/profile2/tool/pages/panels/MyContactEdit.java | 16339 | /**
* Copyright (c) 2008-2012 The Sakai 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.osedu.org/licenses/ECL-2.0
*
* Unless req... | apache-2.0 |
apache/flink | flink-table/flink-table-planner/src/test/java/org/apache/flink/table/planner/runtime/stream/jsonplan/CalcJsonPlanITCase.java | 3680 | /*
* 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 |
bazaarvoice/astyanax | astyanax-cassandra/src/main/java/com/netflix/astyanax/model/AbstractColumnImpl.java | 2878 | package com.netflix.astyanax.model;
import java.nio.ByteBuffer;
import java.util.Date;
import java.util.UUID;
import com.netflix.astyanax.Serializer;
import com.netflix.astyanax.serializers.BooleanSerializer;
import com.netflix.astyanax.serializers.ByteBufferSerializer;
import com.netflix.astyanax.serializers.ByteSer... | apache-2.0 |
McLeodMoores/starling | projects/analytics/src/test/java/com/opengamma/analytics/financial/covariance/CovarianceCalculatorTest.java | 2394 | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial.covariance;
import org.testng.annotations.Test;
import com.opengamma.timeseries.DoubleTimeSeries;
import com.opengamma.timeseries.precise.... | apache-2.0 |
wjw465150/jodd | jodd-joy/src/test/java/jodd/joy/core/DefaultAppCoreTest.java | 2879 | // Copyright (c) 2003-present, Jodd Team (http://jodd.org)
// 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 source code must retain the above copyright notice,
// th... | bsd-2-clause |
fatihboy/smarthome | bundles/automation/org.eclipse.smarthome.automation.api/src/main/java/org/eclipse/smarthome/automation/type/ModuleType.java | 7758 | /**
* Copyright (c) 1997, 2015 by ProSyst Software GmbH 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
*/
p... | epl-1.0 |
galang-pradhana/vogella | de.vogella.rcp.intro.filteredtree/src/de/vogella/rcp/intro/filteredtree/ApplicationWorkbenchAdvisor.java | 631 | package de.vogella.rcp.intro.filteredtree;
import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.eclipse.ui.application.WorkbenchAdvisor;
import org.eclipse.ui.application.WorkbenchWindowAdvisor;
public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
private static final String PERSP... | epl-1.0 |
logicmoo/jrelisp-abcl-ws | src/org/armedbear/lisp/FuncallableStandardObject.java | 8119 | /*
* FuncallableStandardObject.java
*
* Copyright (C) 2003-2006 Peter Graves, 2012 Rudolf Schlatte
* $Id$
*
* 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 Software Foundation; either version 2
* of the Lic... | gpl-2.0 |
rex-xxx/mt6572_x201 | libcore/luni/src/main/java/java/util/TreeSet.java | 15634 | /*
* 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 |
ua-eas/kfs-devops-automation-fork | kfs-bc/src/main/java/org/kuali/kfs/module/bc/document/dataaccess/impl/PayrateExportDaoOjb.java | 5691 | /*
* The Kuali Financial System, a comprehensive financial management system for higher education.
*
* Copyright 2005-2014 The Kuali Foundation
*
* 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 Softw... | agpl-3.0 |
danieljue/beast-mcmc | src/dr/evomodel/tree/RateCovarianceStatistic.java | 2815 | /*
* RateCovarianceStatistic.java
*
* Copyright (C) 2002-2006 Alexei Drummond and Andrew Rambaut
*
* This file is part of BEAST.
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership and licensing.
*
* BEAST is free software; you can redistribute it and/or ... | lgpl-2.1 |
gytis/narayana | qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client07.java | 3340 | /*
* JBoss, Home of Professional Open Source
* Copyright 2007, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
* This copyrighted material is made available to anyone wishing to use... | lgpl-2.1 |
apurtell/hadoop | hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/linux/runtime/JavaSandboxLinuxContainerRuntime.java | 22557 | /*
* 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")... | apache-2.0 |
siosio/intellij-community | plugins/InspectionGadgets/test/com/siyeh/igfixes/style/methodRefs2lambda/LocalClassReference.java | 148 | public class Test {
void test(){
class Local(){}
Supplier<Local> supplier = Local:<caret>:new;
}
}
interface Supplier<T> {
T get();
} | apache-2.0 |
howepeng/isis | core/metamodel/src/main/java/org/apache/isis/core/commons/lang/MapUtil.java | 1560 | /*
* 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")... | apache-2.0 |
siosio/intellij-community | python/src/com/jetbrains/python/PyEditorHighlighterProvider.java | 1095 | // Copyright 2000-2021 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.jetbrains.python;
import com.intellij.openapi.editor.colors.EditorColorsScheme;
import com.intellij.openapi.editor.highlighter.EditorHighlighter;
import com.intellij.... | apache-2.0 |
nomakaFr/ofbiz_ynh | sources/framework/entity/src/org/ofbiz/entity/util/Converters.java | 3482 | /*******************************************************************************
* 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... | apache-2.0 |
goodwinnk/intellij-community | platform/diff-impl/src/com/intellij/diff/actions/CompareFileWithEditorAction.java | 3308 | /*
* Copyright 2000-2017 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.diff.actions;
import com.intellij.diff.DiffRequestFactory;
import com.intellij.diff.contents.DiffContent;
import com.intellij.diff.contents.DocumentCo... | apache-2.0 |
dsyang/buck | test/com/facebook/buck/model/ImmediateDirectoryBuildTargetPatternTest.java | 1476 | /*
* Copyright 2012-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | apache-2.0 |
BUPTAnderson/apache-hive-2.1.1-src | orc/src/java/org/apache/orc/impl/PositionRecorder.java | 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... | apache-2.0 |
macs524/mybatis_learn | src/test/java/org/apache/ibatis/submitted/sqlprovider/OurSqlBuilder.java | 4469 | /**
* Copyright 2009-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
*
* Unle... | apache-2.0 |
tsdl2013/Bitocle | src/Release/2.2/Bitocle/src/io/github/mthli/Bitocle/Content/ContentItem.java | 712 | package io.github.mthli.Bitocle.Content;
import org.eclipse.egit.github.core.TreeEntry;
public class ContentItem implements Comparable<ContentItem> {
private TreeEntry entry;
public ContentItem(TreeEntry entry) {
super();
this.entry = entry;
}
public TreeEntry getEntry() {
r... | apache-2.0 |
vrozov/apex-malhar | library/src/main/java/org/apache/apex/malhar/lib/io/block/BlockMetadata.java | 6411 | /**
* 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 |
pujav65/incubator-rya | extras/rya.geoindexing/src/test/java/org/apache/rya/indexing/accumulo/geo/GeoWaveGTQueryTest.java | 10838 | /*
* 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 |
coding0011/elasticsearch | x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/action/oidc/TransportOpenIdConnectLogoutAction.java | 6853 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.security.action.oidc;
import com.nimbusds.jwt... | apache-2.0 |
nmcl/scratch | graalvm/transactions/fork/narayana/XTS/localjunit/unit/src/test/java/com/arjuna/wst/tests/arq/BusinessAgreementWithParticipantCompletionCoordinatorTest.java | 14194 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2012, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | apache-2.0 |
blackberry/WebWorks-Community-APIs | Smartphone/Backlight/src/webworks/device/backlight/BacklightNamespace.java | 7622 | /*
* Copyright 2010-2012 Research In Motion Limited.
*
* 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 |
nknize/elasticsearch | x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/action/StatsResponsesTests.java | 2876 | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.ccr.action;
import org.elasticsearch.Elastics... | apache-2.0 |
pspaude/uPortal | uportal-war/src/main/java/org/jasig/portal/permission/dao/jpa/JpaPermissionOwnerDao.java | 5965 | /**
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... | apache-2.0 |
fnussber/ocs | bundle/edu.gemini.shared.util/src/main/java/edu/gemini/shared/util/StringUtil.java | 2195 | package edu.gemini.shared.util;
import java.text.CharacterIterator;
import java.text.StringCharacterIterator;
import java.util.Collection;
import java.util.Iterator;
public final class StringUtil {
private StringUtil() {
}
public static String toDisplayName(String propertyName) {
// SW: isn't the... | bsd-3-clause |
plumer/codana | tomcat_files/8.0.22/JMXAccessorInvokeTask.java | 5748 | /*
* 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 ... | mit |
AlphaModder/SpongeAPI | src/main/java/org/spongepowered/api/service/user/UserStorageService.java | 4365 | /*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... | mit |
dominicdesu/openhab | bundles/io/org.openhab.io.caldav/src/main/java/org/openhab/io/caldav/internal/job/EventReloaderJob.java | 20475 | /**
* Copyright (c) 2010-2016, openHAB.org 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
*/
package org... | epl-1.0 |
md-5/jdk10 | test/jdk/java/util/ServiceLoader/basic/ServiceLoaderBasicTest.java | 6954 | /*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | gpl-2.0 |
jvanz/core | wizards/com/sun/star/wizards/db/DatabaseObjectWizard.java | 6295 | /*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following lice... | gpl-3.0 |
kugelr/inspectIT | Agent/test/info/novatec/inspectit/agent/sensor/platform/ClassLoadingInformationTest.java | 10132 | package info.novatec.inspectit.agent.sensor.platform;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.instanceOf;
import static org.hamcrest.Matchers.is;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.times;... | agpl-3.0 |
yersan/wildfly-core | controller/src/main/java/org/jboss/as/controller/OperationDescriptor.java | 1267 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2020, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | lgpl-2.1 |
IMCG/priter | src/test/org/apache/hadoop/mapred/lib/TestKeyFieldBasedComparator.java | 5652 | /**
* 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 |
throughsky/lywebank | hbase-prefix-tree/src/main/java/org/apache/hadoop/hbase/codec/prefixtree/encode/EncoderPool.java | 1145 | /*
* 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 |
nomakaFr/ofbiz_ynh | sources/framework/service/src/org/ofbiz/service/jms/JmsSerializer.java | 2458 | /*******************************************************************************
* 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... | apache-2.0 |
rhusar/undertow | servlet/src/test/java/io/undertow/servlet/test/session/CrossContextServletSharedSessionTestCase.java | 20317 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2014 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licen... | apache-2.0 |
jomarko/kie-wb-common | kie-wb-common-stunner/kie-wb-common-stunner-client/kie-wb-common-stunner-widgets/src/main/java/org/kie/workbench/common/stunner/client/widgets/menu/dev/impl/LogMagnetsDevCommand.java | 3406 | /*
* Copyright 2019 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
johnnywale/drill | exec/java-exec/src/main/java/org/apache/drill/exec/planner/sql/handlers/DescribeSchemaHandler.java | 5640 | /*
* 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 |
ricepanda/rice-git3 | rice-middleware/kew/impl/src/main/java/org/kuali/rice/kew/impl/peopleflow/PeopleFlow.java | 722 | /**
* 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/ecl2.php
*
* Unless required by a... | apache-2.0 |
kkashi01/appinventor-sources | appinventor/appengine/src/com/google/appinventor/client/explorer/project/ProjectNodeContextMenu.java | 1900 | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
package com.google.appinventor.client.explorer.project;
import com.google.appinve... | apache-2.0 |
elubow/titan | titan-test/src/main/java/com/thinkaurelius/titan/graphdb/TitanGraphBaseTest.java | 16799 | package com.thinkaurelius.titan.graphdb;
import com.google.common.base.Preconditions;
import com.google.common.collect.Maps;
import com.thinkaurelius.titan.core.*;
import com.thinkaurelius.titan.core.Cardinality;
import com.thinkaurelius.titan.core.schema.TitanGraphIndex;
import com.thinkaurelius.titan.core.schema.Tit... | apache-2.0 |
hequn8128/flink | flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/TumbleWithSizeOnTime.java | 2228 | /*
* 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 |
jomarko/kie-wb-common | kie-wb-common-stunner/kie-wb-common-stunner-client/kie-wb-common-stunner-lienzo/src/main/java/org/kie/workbench/common/stunner/client/lienzo/canvas/controls/AbstractAcceptorControl.java | 4514 | /*
* Copyright 2017 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | apache-2.0 |
jushanghui/jsh | src/main/parser/com/baidu/hsb/parser/ast/stmt/dml/DMLInsertReplaceStatement.java | 2187 | /**
* Baidu.com,Inc.
* Copyright (c) 2000-2013 All Rights Reserved.
*/
package com.baidu.hsb.parser.ast.stmt.dml;
import java.util.List;
import com.baidu.hsb.parser.ast.expression.misc.QueryExpression;
import com.baidu.hsb.parser.ast.expression.primary.Identifier;
import com.baidu.hsb.parser.ast.expression.primary... | apache-2.0 |
mztaylor/rice-git | rice-framework/krad-web-framework/src/main/java/org/kuali/rice/krad/util/documentserializer/PropertyType.java | 835 | /**
* 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/ecl2.php
*
* Unless requ... | apache-2.0 |
AlienQueen/wicket | wicket-core/src/main/java/org/apache/wicket/request/handler/resource/ResourceReferenceRequestHandler.java | 3563 | /*
* 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 |
grainier/carbon-analytics | components/org.wso2.carbon.event.simulator.core/src/gen/java/org/wso2/carbon/event/simulator/core/model/FileNamesResponse.java | 2238 | package org.wso2.carbon.event.simulator.core.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.swagger.annotations.ApiModelProperty;
/**
* FileNamesResponse
*/
@javax.annotation.Generated(value = "io.swagger.codegen... | apache-2.0 |
sunpy1106/SpringBeanLifeCycle | src/main/java/org/springframework/format/datetime/package-info.java | 106 | /**
* Formatters for {@code java.util.Date} properties.
*/
package org.springframework.format.datetime;
| apache-2.0 |
miniway/presto | presto-record-decoder/src/main/java/io/prestosql/decoder/csv/CsvRowDecoderFactory.java | 1021 | /*
* 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 |
alanfgates/hive | itests/hive-minikdc/src/test/java/org/apache/hive/minikdc/TestHs2HooksWithMiniKdc.java | 5600 | /*
* 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 |
uonafya/jphes-core | dhis-2/dhis-services/dhis-service-dxf2/src/test/java/org/hisp/dhis/dxf2/metadata/MetadataExportServiceTest.java | 6616 | package org.hisp.dhis.dxf2.metadata;
/*
* Copyright (c) 2004-2016, 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 ... | bsd-3-clause |
sguazt/rain-workload-toolkit | src/radlab/rain/workload/scadr/ScadrScenarioTrack.java | 13346 | /*
* Copyright (c) 2010, Regents of the University of California
* 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 noti... | bsd-3-clause |
arturog8m/ocs | bundle/edu.gemini.catalog/src/main/java/jsky/catalog/ArraySearchCondition.java | 2871 | package jsky.catalog;
import jsky.util.NameValue;
/**
* Represents a search condition with an array of possible values.
* The condition evaluates to true, if any one of the values in the array match.
*/
public class ArraySearchCondition extends AbstractSearchCondition {
/** The condition will match any of the... | bsd-3-clause |
BeyondTheBoundary/cspoker | external/plcafe/src/main/java/jp/ac/kobe_u/cs/prolog/lang/Token.java | 9140 | package jp.ac.kobe_u.cs.prolog.lang;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.PushbackReader;
import java.io.Serializable;
/**
* The <code>Token</code> class contains methods for character input/output.<br>
* <font color="red">This document is under construction.</font>
*
* @author ... | gpl-2.0 |
md-5/jdk10 | test/jdk/java/awt/keyboard/AllKeyCode/AllKeyCode.java | 6758 | /*
* Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
FauxFaux/jdk9-jdk | src/jdk.crypto.ec/share/classes/sun/security/ec/SunEC.java | 11547 | /*
* Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
7ShaYaN7/Telegram | TMessagesProj/src/main/java/org/telegram/ui/Cells/TextInfoPrivacyCell.java | 1863 | /*
* This is the source code of Telegram for Android v. 3.x.x.
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Nikolai Kudashov, 2013-2016.
*/
package org.telegram.ui.Cells;
import android.content.Context;
import android... | gpl-2.0 |
YouDiSN/OpenJDK-Research | jdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/optimize/Reduce_Double01.java | 2217 | /*
* Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | gpl-2.0 |
mydzigear/weka.kmeanspp.silhouette_score | src/weka/core/neighboursearch/TreePerformanceStats.java | 9821 | /*
* 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 Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it w... | gpl-3.0 |
xasx/wildfly | testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jca/beanvalidation/ra/ValidMessageEndpoint.java | 2044 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify i... | lgpl-2.1 |
xasx/wildfly | testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/management/cli/RolloutPlanTestServlet.java | 4454 | /*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* unde... | lgpl-2.1 |
pwrose/biojava | biojava-structure-gui/src/main/java/demo/WebStartClientDemo.java | 1576 | /*
* 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 t... | lgpl-2.1 |
szpak/spock | spock-core/src/main/java/org/spockframework/runtime/JUnitDescriptionGenerator.java | 2752 | /*
* Copyright 2009 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 applicab... | apache-2.0 |
packet-tracker/onos | incubator/store/src/main/java/org/onosproject/incubator/store/meter/impl/package-info.java | 774 | /*
* Copyright 2015 Open Networking Laboratory
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | apache-2.0 |
nikhilvibhav/camel | components/camel-cdi/src/main/java/org/apache/camel/cdi/SyntheticBeanAttributes.java | 2652 | /*
* 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 |
sdmcraft/jackrabbit | jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/DocId.java | 11805 | /*
* 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 |
apache/drill | exec/vector/src/main/java/org/apache/drill/exec/vector/complex/MapVector.java | 12486 | /*
* 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 |
stevem999/gocd | server/src/main/java/com/thoughtworks/studios/shine/XSLTTransformerExecutor.java | 953 | /*
* Copyright 2016 ThoughtWorks, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | apache-2.0 |
jsdjayanga/wso2-axis2 | modules/testutils/src/main/java/org/apache/axis2/testutils/UtilServer.java | 4156 | /*
* 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 ma... | apache-2.0 |
Digas29/bazel | src/main/java/com/google/devtools/build/lib/rules/android/AndroidIdlProvider.java | 2588 | // Copyright 2015 The Bazel Authors. 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 appl... | apache-2.0 |