code stringlengths 3 1.04M | repo_name stringlengths 5 109 | path stringlengths 6 306 | language stringclasses 1
value | license stringclasses 15
values | size int64 3 1.04M |
|---|---|---|---|---|---|
/*******************************************************************************
* Copyright (c) 2006, 2011 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... | brunyuriy/quick-fix-scout | org.eclipse.jdt.ui_3.7.1.r371_v20110824-0800/src/org/eclipse/jdt/internal/corext/refactoring/code/ReplaceInvocationsRefactoring.java | Java | mit | 24,396 |
package com.jakduk.api.restcontroller.vo.admin;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
/**
* @author <a href="mailto:phjang1983@daum.net">Jang,Pyohwan</a>
* @company : http://jakduk.com
* @date : 2015. 3. 18.
* @desc :
*/
public class AttendanceClubFo... | JakduK/JakduK | src/main/java/com/jakduk/api/restcontroller/vo/admin/AttendanceClubForm.java | Java | mit | 1,256 |
/*
[The "BSD license"]
Copyright (c) 2005-2009 Terence Parr
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, this list... | RallySoftware/eclipselink.runtime | plugins/org.eclipse.persistence.antlr/src/org/eclipse/persistence/internal/libraries/antlr/runtime/debug/DebugEventListener.java | Java | epl-1.0 | 13,660 |
/*******************************************************************************
* Copyright (c) 2005, 2010 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... | trylimits/Eclipse-Postfix-Code-Completion | luna/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/DOMFinder.java | Java | epl-1.0 | 5,944 |
/**
* Copyright (c) 2010-2019 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.... | computergeek1507/openhab | bundles/binding/org.openhab.binding.tinkerforge/src/main/java/org/openhab/binding/tinkerforge/internal/model/impl/TFIOSensorConfigurationImpl.java | Java | epl-1.0 | 5,458 |
/*
* Copyright (C) 2011 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 ... | AdmireTheDistance/android_libcore | support/src/test/java/libcore/java/lang/ref/FinalizationTester.java | Java | gpl-2.0 | 1,646 |
package freenet.node;
import java.io.UnsupportedEncodingException;
import java.util.Random;
import org.bouncycastle.util.Arrays;
import com.db4o.io.IoAdapter;
import freenet.crypt.AEADCryptBucket;
import freenet.crypt.EncryptingIoAdapter;
import freenet.crypt.HMAC;
import freenet.crypt.RandomSource;
import freenet.... | uprasad/fred | src/freenet/node/DatabaseKey.java | Java | gpl-2.0 | 3,655 |
package com.sogou.qadev.service.cynthia.factory;
import org.apache.log4j.Logger;
import com.sogou.qadev.service.cynthia.bean.UUID;
import com.sogou.qadev.service.cynthia.bean.impl.UUIDImpl;
import com.sogou.qadev.service.cynthia.dao.DataAccessSessionMySQL;
import com.sogou.qadev.service.cynthia.dao.UUIDAccessSessionM... | yioye/Cynthia | src/main/java/com/sogou/qadev/service/cynthia/factory/DataAccessFactory.java | Java | gpl-2.0 | 2,739 |
/*
* Copyright (c) 2003, 2014, 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 ... | Taichi-SHINDO/jdk9-jdk | src/java.desktop/share/classes/com/sun/media/sound/MidiUtils.java | Java | gpl-2.0 | 13,162 |
/*
* Copyright (c) 2014, 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... | teamfx/openjfx-8u-dev-rt | tests/system/src/test/java/launchertest/TestAppCCL2.java | Java | gpl-2.0 | 3,357 |
/* MemoryImageSource.java -- Java class for providing image data
Copyright (C) 1999 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath 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 Founda... | larsbrinkhoff/pdp10-gcc | libjava/java/awt/image/MemoryImageSource.java | Java | gpl-2.0 | 9,380 |
package org.bouncycastle.asn1;
import java.io.IOException;
import java.io.OutputStream;
public class BERSequenceGenerator
extends BERGenerator
{
public BERSequenceGenerator(
OutputStream out)
throws IOException
{
super(out);
writeBERHeader(DERTags.CONSTRUCTED | DERTags.SE... | Z-Shang/onscripter-gbk | svn/onscripter-read-only/src/org/bouncycastle/asn1/BERSequenceGenerator.java | Java | gpl-2.0 | 849 |
/*
* Copyright (c) 2015, 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 ... | md-5/jdk10 | test/hotspot/jtreg/runtime/cds/appcds/customLoader/ParallelTestSingleFP.java | Java | gpl-2.0 | 1,628 |
package emu.project64.input.map;
import java.util.ArrayList;
import java.util.HashMap;
import emu.project64.input.AbstractController;
import emu.project64.input.TouchController;
import emu.project64.persistent.ConfigFile;
import emu.project64.persistent.ConfigFile.ConfigSection;
import emu.project64.profile.Profile;
i... | project64/project64 | Android/app/src/main/java/emu/project64/input/map/TouchMap.java | Java | gpl-2.0 | 21,414 |
/*
* 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... | beppec56/core | wizards/com/sun/star/wizards/common/PlaceholderTextElement.java | Java | gpl-3.0 | 2,729 |
package pneumaticCraft.lib;
public class PneumaticValues{
// danger pressures (bar)
public static final float DANGER_PRESSURE_TIER_ONE = 5;
public static final float DANGER_PRESSURE_PRESSURE_TUBE = DANGER_PRESSURE_TIER_ONE;
public static final float DANGER_PRESSURE_AIR_COMPRESSOR = DANGER_PRESSURE_TIE... | wormzjl/PneumaticCraft | src/pneumaticCraft/lib/PneumaticValues.java | Java | gpl-3.0 | 9,643 |
/*
* This file is part of muCommander, http://www.mucommander.com
* Copyright (C) 2002-2010 Maxence Bernard
*
* muCommander is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the ... | raisercostin/mucommander-2 | src/main/com/mucommander/commons/io/BoundedInputStream.java | Java | gpl-3.0 | 6,335 |
/*
* This file is part of muCommander, http://www.mucommander.com
* Copyright (C) 2002-2012 Maxence Bernard
*
* muCommander 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 L... | jorgevasquezp/mucommander | src/main/com/mucommander/ui/action/impl/ConnectToServerAction.java | Java | gpl-3.0 | 2,946 |
package org.thoughtcrime.securesms.jobmanager.persistence;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.WorkerThread;
import java.util.Collection;
import java.util.List;
import java.util.Set;
public interface JobStorage {
@WorkerThread
void init();
@Work... | cascheberg/Signal-Android | app/src/main/java/org/thoughtcrime/securesms/jobmanager/persistence/JobStorage.java | Java | gpl-3.0 | 1,793 |
/* Copyright (c) 2001-2009, The HSQL Development Group
* 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... | migue/voltdb | src/hsqldb19b3/org/hsqldb_voltpatches/Scanner.java | Java | agpl-3.0 | 66,996 |
/*
* 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... | sanjupolus/KC6.oLatest | coeus-impl/src/main/java/org/kuali/kra/protocol/auth/CreateRenewalUnavailableAuthorizerBase.java | Java | agpl-3.0 | 2,088 |
/* This file is part of VoltDB.
* Copyright (C) 2008-2015 VoltDB Inc.
*
* 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
* without limitation the rights to... | kumarrus/voltdb | tests/frontend/org/voltdb/regressionsuites/TestSystemCatalogSuite.java | Java | agpl-3.0 | 9,412 |
/**
* Copyright (c) 2010-present Abixen Systems. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any ... | alvin-reyes/abixen-platform | abixen-platform-core/src/main/java/com/abixen/platform/core/util/SqlParameterUtil.java | Java | lgpl-2.1 | 3,171 |
/*
* Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Sly Technologies, Inc.
*
* This file is part of jNetPcap.
*
* jNetPcap is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of
... | universsky/diddler-master | src/org/jnetpcap/util/TimeoutQueue.java | Java | lgpl-3.0 | 2,777 |
/*
* This file is part of lanterna (http://code.google.com/p/lanterna/).
*
* lanterna is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any la... | kba/lanterna | src/main/java/com/googlecode/lanterna/gui/util/ShortcutHelper.java | Java | lgpl-3.0 | 4,679 |
/**
** Copyright (c) 2010 Ushahidi Inc
** All rights reserved
** Contact: team@ushahidi.com
** Website: http://www.ushahidi.com
**
** GNU Lesser General Public License Usage
** This file may be used under the terms of the GNU Lesser
** General Public License version 3 as published by the Free Software
** Found... | Hackaton-CD-2013/MejoresCiudades | Core/src/com/ushahidi/android/app/ui/navdrawer/AboutNavDrawerItem.java | Java | lgpl-3.0 | 1,511 |
package org.apache.hadoop.net;
import java.io.IOException;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.Enumeration;
import java.util.Vector;
import javax.naming.NamingException;
import javax.naming.directory.Att... | moreus/hadoop | hadoop-0.11.2/src/java/org/apache/hadoop/net/DNS.java | Java | apache-2.0 | 6,614 |
// ========================================================================
// Copyright (c) 2008-2009 Mort Bay Consulting Pty. Ltd.
// ------------------------------------------------------------------------
// All rights reserved. This program and the accompanying materials
// are made available under the terms of th... | jamiepg1/jetty.project | jetty-server/src/main/java/org/eclipse/jetty/server/nio/InheritedChannelConnector.java | Java | apache-2.0 | 2,796 |
/**
* 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"... | plusplusjiajia/directory-kerby | kerby-kerb/kerb-crypto/src/main/java/org/apache/kerby/kerberos/kerb/crypto/CheckSumTypeHandler.java | Java | apache-2.0 | 1,995 |
/*
* 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... | socialrank/elasticsearch | core/src/main/java/org/elasticsearch/index/query/CommonTermsQueryParser.java | Java | apache-2.0 | 7,434 |
/*
* 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/jmeter | src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/control/gui/HttpMirrorControlGui.java | Java | apache-2.0 | 7,868 |
/**
* 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... | JingchengDu/hadoop | hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/constants/ConfigurationKeys.java | Java | apache-2.0 | 16,453 |
/* 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... | wilfoderek/camunda-bpm-examples | process-engine-plugin/command-interceptor-blocking/src/main/java/org/camunda/bpm/example/engine/BlockingCommandInterceptorPlugin.java | Java | apache-2.0 | 2,596 |
/*
* Copyright 2010 LinkedIn, 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... | HB-SI/voldemort | src/java/voldemort/store/socket/clientrequest/ProtocolNegotiatorClientRequest.java | Java | apache-2.0 | 2,108 |
/**
* Copyright 2010-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 "lic... | JTambunt/aws-sdk-android-samples | CognitoSyncDemo/src/com/amazonaws/cognito/sync/devauth/client/LoginResponseHandler.java | Java | apache-2.0 | 1,584 |
/*
* 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 ... | RackerWilliams/xercesj | src/org/apache/xerces/jaxp/SAXParserImpl.java | Java | apache-2.0 | 27,171 |
/*
* 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... | gh351135612/presto | presto-main/src/test/java/com/facebook/presto/operator/scalar/BenchmarkArrayHashCodeOperator.java | Java | apache-2.0 | 10,655 |
/*
Android Asynchronous Http Client
Copyright (c) 2011 James Smith <james@loopj.com>
http://loopj.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.apac... | nagyistoce/openkit-android | OpenKitSDK/src/io/openkit/asynchttp/AsyncHttpRequest.java | Java | apache-2.0 | 5,045 |
/*
* 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... | electrum/presto | core/trino-main/src/main/java/io/trino/split/RemoteSplit.java | Java | apache-2.0 | 1,760 |
/*
* Copyright 2020 Red Hat, Inc. and/or its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | droolsjbpm/droolsjbpm-integration | kie-spring-boot/kie-spring-boot-autoconfiguration/jbpm-spring-boot-autoconfiguration/src/main/java/org/jbpm/springboot/persistence/JBPMPersistenceUnitPostProcessor.java | Java | apache-2.0 | 921 |
/*
* 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 ... | prasi-in/geode | geode-core/src/main/java/org/apache/geode/internal/offheap/annotations/Retained.java | Java | apache-2.0 | 2,655 |
/*
* #%L
* Wisdom-Framework
* %%
* Copyright (C) 2013 - 2014 Wisdom Framework
* %%
* 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... | torito/wisdom | core/wisdom-api/src/main/java/org/wisdom/api/model/CommittedHandler.java | Java | apache-2.0 | 1,121 |
/*
* Copyright (c) 1995, 2003, 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 ... | andreagenso/java2scala | test/J2s/java/openjdk-6-src-b27/jdk/src/share/classes/java/awt/peer/MenuComponentPeer.java | Java | apache-2.0 | 1,600 |
/*
* Copyright 2017 StreamSets 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... | rockmkd/datacollector | net-commonlib/src/main/java/com/streamsets/pipeline/lib/parser/net/netflow/OutputValuesModeChooserValues.java | Java | apache-2.0 | 897 |
/*
* IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved.
*
* http://izpack.org/
* http://izpack.codehaus.org/
*
* Copyright 2002 Elmar Grom
*
* 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 c... | dasapich/izpack | src/lib/com/izforge/izpack/util/os/ShellLink.java | Java | apache-2.0 | 42,115 |
package org.apereo.cas.notifications.push;
import org.apereo.cas.authentication.principal.Principal;
import org.springframework.core.Ordered;
import java.util.Map;
/**
* This is {@link NotificationSender}.
*
* @author Misagh Moayyed
* @since 6.3.0
*/
@FunctionalInterface
public interface NotificationSender ext... | apereo/cas | core/cas-server-core-notifications/src/main/java/org/apereo/cas/notifications/push/NotificationSender.java | Java | apache-2.0 | 1,018 |
/*
* Copyright (C) 2018 The Dagger 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 ag... | dushmis/dagger | java/dagger/internal/codegen/writing/ModuleGenerator.java | Java | apache-2.0 | 967 |
/* 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... | dbmalkovsky/flowable-engine | modules/flowable5-engine/src/main/java/org/activiti/engine/impl/bpmn/listener/DelegateExpressionExecutionListener.java | Java | apache-2.0 | 3,054 |
/****************************************************************************
Copyright 2009, Colorado School of Mines and others.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apac... | askogvold/jtk | src/main/java/edu/mines/jtk/interp/Gridder2.java | Java | apache-2.0 | 2,104 |
package com.tw.go.plugin.util;
import com.google.gson.GsonBuilder;
public class JSONUtils {
public static Object fromJSON(String json) {
return new GsonBuilder().create().fromJson(json, Object.class);
}
public static String toJSON(Object object) {
return new GsonBuilder().create().toJson(... | davidpaniz/gocd-oauth-login | src/main/java/com/tw/go/plugin/util/JSONUtils.java | Java | apache-2.0 | 337 |
///*
// *
// * 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
//... | hasinitg/airavata | airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/listener/ExperimentStatusChangedEvent.java | Java | apache-2.0 | 2,279 |
/*
* 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 ... | anchela/jackrabbit-oak | oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/xml/ReferenceChangeTrackerTest.java | Java | apache-2.0 | 1,984 |
/*
* 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... | hsaputra/cdap | cdap-api/src/main/java/co/cask/cdap/api/data/DatasetInstantiationException.java | Java | apache-2.0 | 979 |
/*
* Copyright 2000-2013 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... | clumsy/intellij-community | platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/project/manage/ProjectDataManager.java | Java | apache-2.0 | 17,862 |
/*
* 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 ... | mike-jumper/incubator-guacamole-client | guacamole-ext/src/main/java/org/apache/guacamole/net/auth/simple/SimpleConnectionDirectory.java | Java | apache-2.0 | 2,935 |
/*
* 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 ... | shroman/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/GridCacheLeakTest.java | Java | apache-2.0 | 4,335 |
/*
* Copyright 2000-2013 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... | asedunov/intellij-community | plugins/svn4idea/testSource/org/jetbrains/idea/svn/SSLExceptionParserTest.java | Java | apache-2.0 | 1,300 |
/*
* 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 ... | shroman/ignite | modules/core/src/test/java/org/apache/ignite/internal/processors/cache/distributed/GridCachePartitionEvictionDuringReadThroughSelfTest.java | Java | apache-2.0 | 6,584 |
/**
* @@@ START COPYRIGHT @@@
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
"Licen... | apache/incubator-trafodion | dcs/src/test/java/org/trafodion/dcs/ResourceCheckerJUnitRule.java | Java | apache-2.0 | 2,599 |
/*
* 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 ... | nunezro2/cassandra_cs597 | src/java/org/apache/cassandra/streaming/StreamReply.java | Java | apache-2.0 | 3,145 |
/****************************************************************
* 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... | aduprat/james-mailbox | api/src/main/java/org/apache/james/mailbox/exception/ReadOnlyException.java | Java | apache-2.0 | 1,809 |
/*
* This file is part of dependency-check-core.
*
* 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 ... | Prakhash/security-tools | external/dependency-check-core-3.1.1/src/main/java/org/owasp/dependencycheck/data/update/exception/UpdateException.java | Java | apache-2.0 | 1,749 |
/*
Copyright 2007-2009 WebDriver committers
Copyright 2007-2009 Google Inc.
Portions copyright 2007 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/lice... | mfazekas/safaridriver | selenium/src/java/org/openqa/selenium/internal/seleniumemulation/IdentifierLookupStrategy.java | Java | apache-2.0 | 1,160 |
package mblog.core.data;
import java.io.Serializable;
import java.util.List;
public class AuthMenu implements Serializable{
private static final long serialVersionUID = 1L;
private long id;
private String name;
private String url;
private int sort;
private String permission;
private AuthMenu parent;
p... | tang2988/mblog4tys | mblog-core/src/main/java/mblog/core/data/AuthMenu.java | Java | apache-2.0 | 3,210 |
/*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2021 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... | denniskniep/zap-extensions | addOns/network/src/main/java/org/zaproxy/addon/network/internal/cert/CertConfig.java | Java | apache-2.0 | 1,437 |
// Copyright 2007-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 in ... | threefish/acre | bin/src/SetupKeystoreTable.java | Java | apache-2.0 | 6,927 |
/*
* Copyright 2012 <a href="mailto:lincolnbaxter@gmail.com">Lincoln Baxter, III</a>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.... | Pedramrn/prettytime | core/src/main/java/org/ocpsoft/prettytime/units/Hour.java | Java | apache-2.0 | 1,013 |
package org.quickbundle.tools.support.picture.jpegtool;
/*
* 创建日期 2006-2-15
*/
/**
*
* <p>
* Description: JpegTool 使用的异常类
* </p>
*
* @author abnerchai
*
* @version 1.0
*
*/
public class JpegToolException extends Exception {
private String errMsg = "";
public JpegToolException(String errMsg) ... | henryyan/java-lib | quickbundle-core/src/main/java/org/quickbundle/tools/support/picture/jpegtool/JpegToolException.java | Java | apache-2.0 | 473 |
/**
* 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 t... | gburd/wave | src/org/waveprotocol/wave/client/widget/button/ClickButtonWidget.java | Java | apache-2.0 | 2,092 |
/*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | ivan-fedorov/intellij-community | platform/core-impl/src/com/intellij/psi/PsiAnchor.java | Java | apache-2.0 | 19,331 |
/*
* 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... | jk1/intellij-community | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/RemoteRevisionsNumbersCache.java | Java | apache-2.0 | 12,896 |
/*
* 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 ... | deltaprojects/druid | core/src/main/java/org/apache/druid/data/input/impl/prefetch/RetryingInputStream.java | Java | apache-2.0 | 5,150 |
/*
* 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 ... | seeburger-ag/ftpserver | ftplet-api/src/main/java/org/apache/ftpserver/ftplet/DefaultFtplet.java | Java | apache-2.0 | 11,888 |
package com.payu.ratel;
import org.assertj.core.api.AbstractAssert;
import org.assertj.core.api.Assertions;
import com.google.common.net.HostAndPort;
public class HostAndPortAssert extends AbstractAssert<HostAndPortAssert, HostAndPort> {
protected HostAndPortAssert(HostAndPort actual, Class<?> selfType) {
... | slawekjaranowski/Ratel | core/src/test/java/com/payu/ratel/HostAndPortAssert.java | Java | apache-2.0 | 900 |
package janala.logger;
import janala.logger.inst.Instruction;
public class StringLogger extends AbstractLogger {
private StringBuffer buffer;
private boolean init;
public StringLogger() {
buffer = new StringBuffer();
init = true;
}
@Override
protected void log(Instruction insn) {
if (!init)... | ksen007/janala2 | src/main/java/janala/logger/StringLogger.java | Java | bsd-2-clause | 493 |
/*================================================================================
Copyright (c) 2013 Steve Jin. 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 re... | omar-infinio/yavijava | src/main/java/com/vmware/vim25/NetIpConfigSpecIpAddressSpec.java | Java | bsd-3-clause | 2,428 |
/*
* Copyright (C) 2014 Camptocamp
*
* This file is part of MapFish Print
*
* MapFish Print 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 l... | jesseeichar/mapfish-printV3 | core/src/main/java/org/mapfish/print/attribute/map/package-info.java | Java | mit | 846 |
package org.knowm.xchange.btce.v3.dto.account;
import static org.fest.assertions.api.Assertions.assertThat;
import java.io.IOException;
import java.io.InputStream;
import java.math.BigDecimal;
import org.junit.Test;
import com.fasterxml.jackson.databind.ObjectMapper;
/**
* Test BTCEDepth JSON parsing
*/
public c... | gaborkolozsy/XChange | xchange-btce/src/test/java/org/knowm/xchange/btce/v3/dto/account/BTCEWalletJSONTest.java | Java | mit | 960 |
/*
* GeoServer-Manager - Simple Manager Library for GeoServer
*
* Copyright (C) 2007,2011 GeoSolutions S.A.S.
* http://www.geo-solutions.it
*
* 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 t... | oscarfonts/geoserver-manager | src/main/java/it/geosolutions/geoserver/rest/decoder/RESTWmsStore.java | Java | mit | 4,612 |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
package org.bondlib;
import java.io.IOException;
/**
* Implements the {@link BondType} contract for the Bond "float" data type.
*/
public final class FloatBondType ... | chwarr/bond | java/core/src/main/java/org/bondlib/FloatBondType.java | Java | mit | 7,787 |
/*
* Copyright (C) 2015 The Project Lombok Authors.
*
* 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 without limitation the rights
* to use, copy, modif... | Lekanich/lombok | src/core/lombok/eclipse/handlers/singulars/EclipseGuavaSetListSingularizer.java | Java | mit | 2,345 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | utils/eclipselink.utils.workbench/mappingsplugin/source/org/eclipse/persistence/tools/workbench/mappingsplugin/ui/descriptor/relational/AggregateDescriptorNode.java | Java | epl-1.0 | 2,372 |
/*******************************************************************************
* Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | utils/eclipselink.utils.workbench.test/mappingsplugin/source/org/eclipse/persistence/tools/workbench/test/models/projects/PhoneCompanyRuntimeProject.java | Java | epl-1.0 | 25,771 |
/*******************************************************************************
* Copyright (c) 2011, 2015 Oracle and/or its affiliates. All rights reserved.
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
... | RallySoftware/eclipselink.runtime | moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/xmlelementref/prefix/XmlElementRefPrefixesTestCases.java | Java | epl-1.0 | 2,852 |
package com.fastaccess.helper;
import android.content.Context;
import android.database.Cursor;
import android.media.Ringtone;
import android.media.RingtoneManager;
import android.net.Uri;
import android.os.Environment;
import android.provider.DocumentsContract;
import android.provider.MediaStore;
import android.suppor... | dedepete/FastHub | app/src/main/java/com/fastaccess/helper/FileHelper.java | Java | gpl-3.0 | 3,873 |
/*******************************************************************************
* Created by Carlos Yaconi
* Copyright 2012 Fork Ltd. All rights reserved.
* License: GPLv3
* Full license at "/LICENSE"
******************************************************************************/
package com.prey.actions;
import... | biicktoor/prey-android-client-master | src/com/prey/actions/CallLogsNotifierAction.java | Java | gpl-3.0 | 2,846 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/ValueObjects/src/ims/core/vo/GPToPracticeNTPFVoCollection.java | Java | agpl-3.0 | 8,033 |
//#############################################################################
//# #
//# Copyright (C) <2014> <IMS MAXIMS> #
//# #
... | open-health-hub/openMAXIMS | openmaxims_workspace/Assessment/src/ims/assessment/forms/graphicassessmentcomponent/GlobalContext.java | Java | agpl-3.0 | 4,492 |
/*
* NOTE: This file is in part based on code from The dbXML Group.
* The original license statement is also included below.
*
* eXist-db Open Source Native XML Database
* Copyright (C) 2001 The eXist-db Authors
*
* info@exist-db.org
* http://www.exist-db.org
*
* This library is free software; you can redistr... | dizzzz/exist | exist-core/src/main/java/org/exist/storage/btree/DBException.java | Java | lgpl-2.1 | 3,924 |
package org.orbeon.saxon.dom4j;
import org.dom4j.Document;
import org.orbeon.saxon.Configuration;
/**
* This wrapper is an extension of the Saxon node wrapper which is aware of XForms type annotations.
*/
public class TypedDocumentWrapper extends DocumentWrapper {
public TypedDocumentWrapper(Document document,... | wesley1001/orbeon-forms | src/main/java/org/orbeon/saxon/dom4j/TypedDocumentWrapper.java | Java | lgpl-2.1 | 629 |
/*
* Hibernate OGM, Domain model persistence for NoSQL datastores
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.ogm.backendtck.associations.onetoone;
import javax.pe... | DavideD/hibernate-ogm | core/src/test/java/org/hibernate/ogm/backendtck/associations/onetoone/NetworkSwitch.java | Java | lgpl-2.1 | 1,110 |
/* Soot - a J*va Optimization and Annotation Framework
* Copyright (C) 1997-2000 Raja Vallee-Rai
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Licens... | mbenz89/soot | tutorial/addattributes/Main.java | Java | lgpl-2.1 | 2,173 |
/*
* Copyright 2015 Higher Frequency Trading
*
* http://www.higherfrequencytrading.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
... | ligzy/Chronicle-Queue | chronicle-sandbox/src/main/java/net/openhft/chronicle/queue/impl/SingleTailer.java | Java | lgpl-3.0 | 6,656 |
/*
* Copyright (c) 2014, salesforce.com, inc.
* All rights reserved.
* Redistribution and use of this software 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... | iFernandoSousa/cordova-salesforcesdk | src/android/com/salesforce/androidsdk/ui/CustomServerUrlEditor.java | Java | unlicense | 6,951 |
/*
* 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 ... | masaki-yamakawa/geode | geode-cq/src/distributedTest/java/org/apache/geode/management/internal/pulse/TestCQDUnitTest.java | Java | apache-2.0 | 4,668 |
package com.google.api.ads.dfp.jaxws.v201502;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for CustomCreativeError.Reason.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* <simpleType... | shyTNT/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201502/CustomCreativeErrorReason.java | Java | apache-2.0 | 2,432 |
package com.google.api.ads.dfp.jaxws.v201505;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
*
* A {@link FirstPartyAudienceSegment} is an {@link AudienceSegme... | stoksey69/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201505/FirstPartyAudienceSegment.java | Java | apache-2.0 | 1,144 |
package be.swsb.fiazard.ordering.condiment;
import java.util.Date;
import org.mongojack.ObjectId;
import be.swsb.fiazard.common.eventsourcing.Event;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
public class CondimentUnlockedEvent extends Event {
priva... | Jooones/Fiazard | src/main/java/be/swsb/fiazard/ordering/condiment/CondimentUnlockedEvent.java | Java | apache-2.0 | 759 |
package com.google.api.ads.dfp.jaxws.v201502;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* Creates... | stoksey69/googleads-java-lib | modules/dfp_appengine/src/main/java/com/google/api/ads/dfp/jaxws/v201502/ProposalServiceInterfacecreateProposals.java | Java | apache-2.0 | 2,373 |
/**
* Copyright (C) 2004-2011 Jive Software. 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 requir... | igniterealtime/Spark | plugins/sip/src/main/java/org/jivesoftware/sparkplugin/sipaccount/SipAccount.java | Java | apache-2.0 | 4,059 |