text stringlengths 7 1.01M |
|---|
/*
* Copyright 2012 Matt Corallo.
* Copyright 2014 Kalpesh Parmar.
*
* 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 requi... |
/*
* Copyright (C) 2014-2018, Amobee Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package com.sap.cloud.lm.sl.mta.parsers.v3;
import static com.sap.cloud.lm.sl.mta.handlers.v3.Schemas.REQUIRED_DEPENDENCY;
import java.util.Map;
import com.sap.cloud.lm.sl.common.ParsingException;
import com.sap.cloud.lm.sl.mta.model.Metadata;
import com.sap.cloud.lm.sl.mta.model.RequiredDependency;
import com.sap.c... |
/*
* Copyright @ 2015 Atlassian Pty Ltd
*
* 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... |
package com.example.chat.base;
public class App {
public static void main(String[] args) {
System.out.println(App.class);
}
}
|
package com.javase.io;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
public class BufferedReaderTest {
public static void main(String[] args) throws IOException {
//定义节点流
FileReader reader = new FileReader("JavaNote/src/com/javase/io/write_test");
... |
package com.bitdubai.fermat_ccp_plugin.layer.actor.extra_user.developer.bitdubai.version_1;
import com.bitdubai.fermat_api.CantStartPluginException;
import com.bitdubai.fermat_api.FermatException;
import com.bitdubai.fermat_api.layer.all_definition.common.system.abstract_classes.AbstractPlugin;
import com.bitdubai.fer... |
/*
* Copyright 2014 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
package ru.art.platform.api.model.request;
import lombok.*;
import ru.art.generator.mapper.annotation.*;
import ru.art.platform.api.model.external.*;
import ru.art.platform.api.model.module.Module;
import ru.art.platform.api.model.project.*;
import ru.art.platform.api.model.resource.*;
import ru.art.platform.api.model... |
/*
* Copyright (c) 2016, 2017, 2018, 2019 FabricMC
*
* 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... |
public class Test {
public static boolean test(char c1, char c2, char c3, char c4, char c5, char c6, char c7, char c8) {
StringBuilder sb = new StringBuilder("");
sb.append(c1);
sb.append(c2);
sb.append(c3);
sb.append(c4);
sb.append(c5);
sb.append(c6);
... |
/*
* Copyright (c) Microsoft. All rights reserved.
* Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
package com.microsoft.azure.sdk.iot.service.exceptions;
/**
* Create iot hub not found exception
*/
public class IotHubNotSupportedException extends IotHubExc... |
package com.denizenscript.denizen.objects.properties.entity;
import com.denizenscript.denizen.nms.NMSHandler;
import com.denizenscript.denizen.nms.NMSVersion;
import com.denizenscript.denizen.utilities.depends.Depends;
import com.denizenscript.denizen.npc.traits.InvisibleTrait;
import com.denizenscript.denizen.o... |
package de.erdbeerbaerlp.dcintegration.fabric.mixin;
import com.mojang.authlib.GameProfile;
import de.erdbeerbaerlp.dcintegration.common.storage.Configuration;
import de.erdbeerbaerlp.dcintegration.common.storage.PlayerLinkController;
import de.erdbeerbaerlp.dcintegration.common.util.Variables;
import net.minecraft.se... |
/**
* 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... |
package com.zhenggq.springboot.service;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class Service1ApplicationTests {
@Test
... |
/*
WarningDialogActivity.java
Copyright (c) 2014 NTT DOCOMO,INC.
Released under the MIT license
http://opensource.org/licenses/mit-license.php
*/
package com.nttdocomo.android.dconnect.observer.activity;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import com.nttdocomo.android.dconne... |
/*******************************************************************************
* Copyright 2017 University of Stuttgart
*
* 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.ap... |
package com.infoclinika.mssharing.platform.model.impl.entities.restorable;
import com.infoclinika.mssharing.platform.entity.restorable.ProjectTemplate;
import com.infoclinika.mssharing.platform.model.impl.entities.GroupDefault;
import com.infoclinika.mssharing.platform.model.impl.entities.LabDefault;
import com.infocl... |
/*
* 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... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may n... |
package org.dizitart.no2.collection.operation;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import com.fasterxml.jackson.databind.util.ArrayIterator;
import org.dizitart.no2.collection.Document;
import org.dizitart.no2.collection.NitriteId;
import org.dizitart.no2.store.memory... |
package lecho.lib.hellocharts.listener;
import lecho.lib.hellocharts.model.BubbleValue;
public interface BubbleChartOnValueSelectListener extends OnValueDeselectListener {
public void onValueSelected(int bubbleIndex, BubbleValue value);
}
|
/**
* 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... |
/*
* Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: ... |
/*
* COPYRIGHT (C) AEGIS DATA SOLUTIONS, LLC, 2015
*/
package com.aegisql.conveyor.user;
import java.util.function.Supplier;
// TODO: Auto-generated Javadoc
/**
* The Class UserBuilder.
*
* @author Mikhail Teplitskiy
* @version 1.0.0
*/
public class UserBuilder implements Supplier<User> {
/... |
package net.minecraft.world.level.block.entity;
import com.google.common.collect.Lists;
import java.util.Iterator;
import java.util.List;
import java.util.Objects;
import java.util.Random;
import java.util.function.Predicate;
import java.util.stream.Collectors;
import javax.annotation.Nullable;
import net.minecraft.Re... |
/*-------------------*
| Rodrigo CavanhaMan |
| URI 2170 |
| Juros do Projeto |
*--------------------*/
import java.util.Locale;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Locale.setDefault(Locale.US);
int conta = 0;
... |
/*
* 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 ... |
import javax.xml.bind.DatatypeConverter;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Scanner;
class Main {
public static void main(String[] args) throws IOException {
URL url = new URL("https://api.test.com/");
HttpURLConnection... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... |
/*******************************************************************************
* ============LICENSE_START====================================================
* * org.onap.aaf
* * ===========================================================================
* * Copyright © 2017 AT&T Intellectual Property. All right... |
package com.example.heroku.repository;
import com.example.heroku.entity.CityEntity;
import org.springframework.data.jpa.repository.JpaRepository;
public interface CityRepository extends JpaRepository<CityEntity, String> {
CityEntity findByShortDescription(String shortDescription);
} |
/*
* 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 ... |
package com.mmnaseri.utils.spring.data.dsl.factory;
import com.mmnaseri.utils.spring.data.proxy.ResultAdapter;
/**
* Lets us register an additional result adapter
*
* @author Milad Naseri (m.m.naseri@gmail.com)
* @since 1.0 (10/14/15)
*/
public interface ResultAdaptersAnd extends MappingContext {
/**
* Reg... |
// License: GPL. For details, see LICENSE file.
package org.openstreetmap.josm.plugins.opendata.core.io.geographic;
import static org.openstreetmap.josm.tools.I18n.tr;
import java.io.IOException;
import java.io.InputStream;
import org.openstreetmap.josm.actions.ExtensionFileFilter;
import org.openstreetmap.... |
package com.github.schnitker.logmgr.logback;
import java.beans.PropertyChangeListener;
import java.io.IOException;
import java.io.InputStream;
import java.util.Enumeration;
import java.util.NoSuchElementException;
/**
* LogManager for logback. <p>
* You must define the system property "java.util.logging.manager" to... |
package demo.stockmgr.except;
import java.util.List;
/**
* Interface for Exception Response
* @author Teki Chan
* @since 30 May 2019
*/
public interface IExceptionResponse {
/**
* Getter of Response Message
* @return Response Message
*/
String getMessage();
/**
* Getter of List of... |
/*
* Copyright (C) 2007-2013 Geometer Plus <contact@geometerplus.com>
*
* 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 License, or
* (at your option) any later ver... |
package org.insightcentre.uld.naisc.analysis;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;
import org.apa... |
package org.apache.camel.workshop.credit;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class CreditApplication {
public static void main(String[] args) {
SpringApplication.run(CreditApplication.class, args);
... |
package com.looker.audioplayer;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* To work on unit tests, switch the Test Artifact in the Build Variants view.
*/
public class ExampleUnitTest {
@Test
public void addition_isCorrect() throws Exception {
assertEquals(4, 2 + 2);
}
} |
package co.andrea.common.jaxb;
import com.sun.xml.bind.marshaller.NamespacePrefixMapper;
import java.util.Map;
public class UblNamespacesMapper extends NamespacePrefixMapper {
private final String defaultNamespace;
private final Map<String, String> namespaces;
public UblNamespacesMapper(Map<String, Str... |
/*
*
* * Copyright (c) 2020 Stefan Spiska (Vitasystems GmbH) and Hannover Medical School
* * This file is part of Project EHRbase
* *
* * 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 t... |
package com.netsocks.associatefan.domain.customer;
import java.time.LocalDate;
public class UpdateCommand {
private final String correlationId;
private final String id;
private final String fullName;
private final String email;
private final LocalDate birthday;
private final String favoriteTea... |
/*
* 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 ... |
package com.packagename.myapp.backend.data.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
@Entity
public class PickupLocation extends AbstractEntity {
@Size(max = 255)
@NotBlank
@Column(unique = true... |
package fr.javatronic.blog.massive.annotation1.sub1;
import fr.javatronic.blog.processor.Annotation_001;
@Annotation_001
public class Class_6393 {
}
|
package ru.job4j.sort;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.*;
import java.util.stream.Collectors;
public class StringSorter {
public void createSource(String namePath, int sizeOfSource) {
try (RandomAccessFile source = new RandomAccessFile(St... |
/*
* 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... |
/*
* Copyright (c) 2012, 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 ... |
package mage.cards.q;
import mage.abilities.effects.common.DestroyTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.target.common.TargetEnchantmentPermanent;
import java.util.UUID;
/**
* @author Loki
*/
public final... |
package org.geotools.filter.function;
/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2005-2008, Open Source Geospatial Foundation (OSGeo)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Pu... |
/*
* Copyright (c) Numerical Method Inc.
* http://www.numericalmethod.com/
*
* THIS SOFTWARE IS LICENSED, NOT SOLD.
*
* YOU MAY USE THIS SOFTWARE ONLY AS DESCRIBED IN THE LICENSE.
* IF YOU ARE NOT AWARE OF AND/OR DO NOT AGREE TO THE TERMS OF THE LICENSE,
* DO NOT USE THIS SOFTWARE.
*
* THE SOFTWARE IS PROV... |
package com.caharkness.support.utilities;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffXfermode;
import android.graphics.drawable.BitmapDrawable;
import android... |
/**
* Automatically generated file. DO NOT MODIFY
*/
package nf.devgalileo.countonit;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "nf.devgalileo.countonit";
public static final String BUILD_TYPE = "debug";
publ... |
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 签约参数,支付后签约场景使用
*
* @author auto create
* @since 1.0, 2017-07-18 14:28:45
*/
public class AgreementSignParams extends AlipayObject {
private static final long serialVersionUID =... |
package goway.me.tfengine.core.model;
import lombok.Data;
@Data
public class RegistryData {
private String jarData;
private String version;
private String interfaceName;
private String packageName;
private String address;
private String username;
private String password;
}
|
package com.moogu.myweb.config;
import com.vaadin.flow.spring.annotation.SpringComponent;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.context.annotation.Bean;
@SpringComponent
public class Initializer {
@Bean
public Co... |
package com.alphawallet.app.repository;
import android.text.TextUtils;
import android.util.Log;
import com.alphawallet.app.BuildConfig;
import com.alphawallet.app.entity.ContractType;
import com.alphawallet.app.entity.NetworkInfo;
import com.alphawallet.app.entity.Wallet;
import com.alphawallet.app.entity.opensea.Ass... |
package simpledb.systemtest;
import java.io.IOException;
import java.util.ArrayList;
import simpledb.*;
import static org.junit.Assert.*;
import org.junit.Test;
public class InsertTest extends SimpleDbTestBase {
private void validateInsert(int columns, int sourceRows, int destinationRows)
throws ... |
public class Carte {
private int numarPagini;
public Carte(int numarPagini) {
this.numarPagini = numarPagini;
}
public boolean equals(Carte carte)
{
if(this.numarPagini==carte.numarPagini)
return true;
else
return false;
}
}
|
package cn.riversky.yanmo.createtype.abstractfactory.example4.product;
/**
* Created by admin on 2017/11/27.
*/
public class GAMainboard implements MainboardApi {
private int cpuHoles=0;
public GAMainboard(int cpuHoles) {
this.cpuHoles = cpuHoles;
}
@Override
public void installCPU() {
... |
package com.revolsys.swing.map.layer.record.style.marker;
import java.net.URL;
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.jeometry.common.logging.Logs;
import com.revolsys.io.map.MapObjectFactory;
import com.revols... |
package i01_intro;
final class RaceConditionMain {
private static int x = 0;
private static int LIMIT = 100000000;
public static class Test implements Runnable {
public void run() {
for (int j = 0; j < LIMIT; j++)
x++;
}
}
public static void main(Str... |
/*
* Copyright (C) 2020 xuexiangjys(xuexiangjys@163.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 a... |
package com.wqwy.zhnm.seller.controller;
import java.util.HashMap;
import java.util.Map;
import java.util.stream.Collectors;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.bean... |
/*
* Generated by the Jasper component of Apache Tomcat
* Version: Apache Tomcat/7.0.93
* Generated at: 2019-04-02 08:30:37 UTC
* Note: The last modified time of this file was set to
* the last modified time of the source file after
* generation to assist with modification tracking.
*/
package org.ap... |
package dataimport;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.codec.binary.Base64;
import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;
... |
package com.example.kernel.ui.contract;
import com.example.kernel.ui.presenter.MsgPresenter;
import com.yiciyuan.kernel.ui.base.BaseModule;
import com.yiciyuan.kernel.ui.base.BasePresenter;
import com.yiciyuan.kernel.ui.base.BaseView;
/**
* Created with Android Studio.
* User kcj
* Date 2020/03/23
* Description... |
package com.kas.domotic.application.service;
import java.util.List;
import com.kas.domotic.application.service.dto.StationDTO;
import com.kas.domotic.domain.station.Station;
public interface StationService {
public Station registerStation(StationDTO dto);
public StationDTO get(String stationId);
... |
package com.tlcn.dao;
import org.springframework.data.repository.CrudRepository;
import com.tlcn.model.ConfirmProposal;
public interface ConfirmProposalRespository extends CrudRepository<ConfirmProposal, Integer>{
}
|
package br.com.caelum;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import org.springframework.web.servlet.support.AbstractAnnotationConfigDispatcherServletInitializer;
public class Inicializador extends AbstractAnnotationConfigDispatcherServletInitializer {
@Override
protected Clas... |
/*
* Copyright 2010-2018 Boxfuse GmbH
*
* 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 ... |
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.instrumentation.spring.autoconfigure.exporters.logging;
import org.springframework.boot.context.properties.ConfigurationProperties;
/** Configuration for {@link io.opentelemetry.exporter.logging.LoggingSpanE... |
package com.blankj.androidutilcode.activity;
import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.design.widget.BottomNavigationView;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentPagerAdapter;
import android.support... |
/*
* 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 ... |
package com.github.zhenwei.provider.jce.spec;
import java.math.BigInteger;
/**
* Elliptic Curve private key specification.
*/
public class ECPrivateKeySpec
extends ECKeySpec {
private BigInteger d;
/**
* base constructor
*
* @param d the private number for the key.
* @param spec the domain ... |
package me.alad.phoenix.datadeal;
//import org.joda.time.Days;
//import org.joda.time.Interval;
//import org.joda.time.Period;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class DateUtil {
public static final String yyyyMMdd... |
/*
* 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 ... |
package triangle.meshing;
import triangle.Configuration;
import triangle.geometry.Vertex;
import java.util.List;
public interface ITriangulator {
/**
* Triangulates a point set.
* @param points Collection of points
* @param config Configuration
* @return Mesh
*/
IMesh triangulate(Li... |
/*
* Copyright (C) 2014 The Guava 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 agre... |
package com.ljmu.andre.modulepackloader.Listeners;
import com.ljmu.andre.modulepackloader.Exceptions.PackSecurityException;
import java.io.IOException;
import java.io.InputStream;
import java.security.cert.Certificate;
import java.security.cert.X509Certificate;
import java.util.Enumeration;
import java.util.Vector;
i... |
/*
* Copyright (c) 2012, 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 ... |
/*
* Copyright (c) 2020, 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.org... |
/*************************************************************************
* *
* EJBCA Community: The OpenSource Certificate Authority *
* *
* This software is... |
package com.ivanboyukliev.plantsirrigationsystem.utils;
public class UserInputConverter {
public static String convertServerURIToFirebaseRules(String serverURI) {
return serverURI.replace(":", "!")
.replace(".", ",")
.replace("/", "(");
}
public static String conve... |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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
... |
package com.planet_ink.coffee_mud.Common;
import com.planet_ink.coffee_mud.core.database.DBInterface;
import com.planet_ink.coffee_mud.core.interfaces.*;
import com.planet_ink.coffee_mud.core.*;
import com.planet_ink.coffee_mud.core.CMClass.CMObjectType;
import com.planet_ink.coffee_mud.core.collections.*;
import... |
/*
* 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
* distribute... |
package eu.transparency.lobbycal.web.filter;
import org.springframework.core.env.Environment;
import javax.servlet.*;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
/**
* This filter is used in production, to put HTTP cache headers with a long (1 mon... |
package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.Servo;
public class ... |
package stories.mapwebinfo;
import dtos.CustomMapModDto;
import pojos.ProfileToDisplay;
import java.sql.SQLException;
import java.util.List;
public interface MapWebInfoFacade {
String findPropertyValue(String key) throws Exception;
boolean isCorrectInstallationFolder(String installationFolder);
... |
/**
* Copyright 2009-2021 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... |
package com.wang.guava.utilities;
import com.google.common.base.Splitter;
import org.hamcrest.Matchers;
import org.junit.Assert;
import org.junit.jupiter.api.Test;
import java.util.List;
import java.util.Map;
import java.util.regex.Pattern;
/**
* @description: 按照指定的分隔符,将字符串分隔成一个集合
* @date: 2020/7/2 23... |
/**
* Copyright (c) 2016-2019 谷粒开源 All rights reserved.
*
* https://www.guli.cloud
*
* 版权所有,侵权必究!
*/
package com.live.modules.sys.dao;
import com.live.modules.sys.entity.SysCaptchaEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 验证码
*
* @auth... |
package org.sxd.invmgmt.entity.authc;
import org.sxd.invmgmt.entity.base.Entity;
/**
* Created by eddie on 2017/12/25.
* 用户实体类
*/
public class UserEntity extends Entity {
/**
* 编号
*/
private Long id;
/**
* 部门/组织编号
*/
private Long organizationId;
/**
* 用户名
*/
... |
/*
* Copyright (c) 2010-2016 Evolveum
*
* 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... |
package com.glucoclock.database.doctorpatient_db.service;
import com.glucoclock.database.doctorpatient_db.model.DoctorPatient;
import com.glucoclock.database.doctorpatient_db.repository.DoctorPatientRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service... |
package com.smart.sso.client;
import java.io.IOException;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.util.StringUtils;
/**
* 单点退出Filter
*
* @author dgh
*/
publi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.