text
stringlengths
7
995k
package net.minecraft.server; import java.util.Calendar; import java.util.List; import java.util.UUID; //CraftBukkit start import org.bukkit.craftbukkit.entity.CraftLivingEntity; import org.bukkit.event.entity.CreatureSpawnEvent; import org.bukkit.event.entity.EntityCombustByEntityEvent; import org.bukkit.event.enti...
package br.com.fabrica.benz.controller.dto; import java.util.List; import java.util.stream.Collectors; import br.com.fabrica.benz.model.Carro; public class CarroDTO { private Integer year; private String model; private String licensePlate; private String color; public CarroDTO(Carro carro) { this.model = c...
/*- * #%L * Elastic APM Java agent * %% * Copyright (C) 2018 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/license...
package org.jetbrains.tutorials.sample; import org.jetbrains.annotations.NotNull; /** * @author Anna Bulenkova */ public class DummyProjectComponentImpl implements DummyProjectComponent { @Override public void projectOpened() { } @Override public void projectClosed() { } @Override public void in...
package org.tiankafei.springdemo.controller; import org.tiankafei.springdemo.dao.impl.PersonDao; import org.tiankafei.springdemo.service.impl.PersonService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.stereotyp...
package com.jakubowskiartur.authservice.config; import com.jakubowskiartur.authservice.utils.JwtUtil; import io.jsonwebtoken.Claims; import lombok.AllArgsConstructor; import org.springframework.security.authentication.ReactiveAuthenticationManager; import org.springframework.security.authentication.UsernamePasswordAut...
package playdagger; class ElectricHeater implements Heater { boolean heating; @Override public void on() { System.out.println("~ ~ ~ heating ~ ~ ~"); this.heating = true; } @Override public void off() { this.heating = false; } @Override public boolean isHot() { return heating; } }
package com.dreamsecurity.ca.cvc.ejbca.factory; import java.io.IOException; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import java.security.NoSuchProviderException; import java.security.PrivateKey; import java.security.SignatureException; import org.ejbca.cvc.CVCertificat...
package ru.stqa.pft.mantis.tests; import org.testng.annotations.Test; import ru.lanwen.verbalregex.VerbalExpression; import ru.stqa.pft.mantis.model.MailMessage; import ru.stqa.pft.mantis.model.Users; import ru.stqa.pft.mantis.model.UsersData; import java.util.List; import static org.testng.Assert.assertTrue; publi...
package net.njsharpe.infernalmobs.attribute; import net.njsharpe.developmentutility.helper.EntityHelper; import net.njsharpe.developmentutility.helper.ProjectileHelper; import net.njsharpe.infernalmobs.InfernalMobs; import net.njsharpe.infernalmobs.entity.InfernalEntity; import org.bukkit.Location; import org.bukkit.M...
/* * 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 ...
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE package org.bytedeco.nvcodec.nvencodeapi; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import org.bytedeco.cuda.cudart.*; import static org.bytedeco.cuda.gl...
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file ...
package com.skyeye.k12.teacher.log4j.api.listener; import com.ctrip.framework.apollo.Config; import com.skyeye.k12.teacher.common.constants.SysConstant; import com.skyeye.k12.teacher.common.listener.ConfigListener; import com.skyeye.k12.teacher.common.util.ConfigUtils; import com.skyeye.k12.teacher.common.util.HashedW...
package com.giorgiofellipe.datecsprinter; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.apache.cordova.CordovaInterface; import org.apache.cordova.CordovaWebView; import org.json.JSONObject; import org.json.JSONArray; import org.json.JSONException; public class DatecsP...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package Calculator; /** * * @author ORuairc */ public class Calculators extends javax.swing.JFrame { Double firstNum = 0.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 may ...
/* * Copyright 2015-present Open Networking Foundation * * 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 appli...
package tech.pcreate.wallpaperrotator.service; import android.app.WallpaperManager; import android.app.job.JobParameters; import android.app.job.JobService; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.os.AsyncTask; import android.util.Log; import android.widget.Toast; import ...
package de.sonallux.spotify.api.apis; import de.sonallux.spotify.api.http.ApiClient; import de.sonallux.spotify.api.apis.usersprofile.*; import lombok.RequiredArgsConstructor; /** * Users Profile */ @RequiredArgsConstructor public class UsersProfileApi { private final ApiClient apiClient; /** * <h4>Ge...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: sample.proto package io.siddhi.extension.io.grpc.proto; /** * Protobuf type {@code Response} */ public final class Response extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:Respons...
package io; import java.text.SimpleDateFormat; import java.util.Date; public class ScoreData { private String nombre; private int score; private int muertes; private String date; public ScoreData(int score) { this.score = score; Date today = new Date(System.currentTimeMillis()); SimpleDateFormat format ...
package com.sample.web.front; import org.springframework.cache.annotation.EnableCaching; import org.springframework.context.annotation.Configuration; import com.sample.web.base.BaseApplicationConfig; @Configuration @EnableCaching // JCacheを有効化する public class ApplicationConfig extends BaseApplicationConfig { }
package com._604robotics.quixsam.mathematics; import edu.wpi.first.wpilibj.geometry.Pose2d; import edu.wpi.first.wpilibj.geometry.Twist2d; public abstract class Interpolatable<T> { private final T value; public Interpolatable(T value) { this.value = value; } public T get() { return this.value; } ...
/* * Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
/******************************************************************************* * Copyright (c) 2014 Bert De Geyter (https://github.com/TheHolyWaffle). * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Public License v3.0 * which accompanies this dis...
package com.mybatis.dao; import com.mybatis.pojo.User; import com.mybatis.utils.MyBatisUtil; import org.apache.ibatis.session.SqlSession; import org.junit.Test; public class UserDaoTest { @Test public void getUserByIdTest(){ SqlSession sqlSession = MyBatisUtil.getSqlSession(); UserMapper mapp...
package com.example.bookstoreaccountservice.controller; import javax.validation.Valid; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.security.access.prepost.PreAuthorize; import org....
package org.bouncycastle.cert.test; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.math.BigInteger; import java.security.SecureRandom; import java.security.cert.CRL; import java.security.cert.CertificateException; import java.security.cert.Cert...
// ============================================================================ // // Copyright (C) 2006-2019 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have receiv...
import java.io.File; import java.io.IOException; import java.io.PrintStream; import java.util.LinkedHashSet; import java.util.Scanner; /** * Created by maxmxmx on 21.11.2016. */ public class Main { private static int m; private static int c; private static int n; private static Integer []x; priva...
package com.baeldung; import com.baeldung.spring.cloud.greeting.GreetingApplication; 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(classes = ...
package club.tempvs.user.service.impl; import club.tempvs.user.dao.EmailVerificationDao; import club.tempvs.user.dao.UserDao; import club.tempvs.user.domain.EmailVerification; import club.tempvs.user.domain.User; import club.tempvs.user.exception.UnauthorizedException; import club.tempvs.user.exception.UserAlreadyExis...
/* Copyright (c) 2018 FIRST. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted (subject to the limitations in the disclaimer below) provided that * the following conditions are met: * * Redistributions of source code must retain the above cop...
/* Copyright 2010, Google Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following dis...
/* * SMASH * * This file was automatically generated for the SMASH API by SMASH, INC ( https://smashlabs.io ). */ package SMASH.models; import java.util.*; import com.fasterxml.jackson.annotation.JsonGetter; import com.fasterxml.jackson.annotation.JsonSetter; public class CodeProtectionModelResponse exte...
package com.gdtopway.core.data; import javax.annotation.PostConstruct; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; /** * 数据库数据初始化处理器触发器 */ @Component public class DatabaseDataInitializeTrigg...
public class Circle extends Shape { private xxCircle xc; public Circle() { xc=new xxCircle(); } public void display() { xc.displayit(); } public void fill() { xc.displayit(); } public void undisplay() { xc.undisplayit(); } }
/* * Zynaptic Stash - An asynchronous persistence framework for Java. * * Copyright (c) 2009-2019, Zynaptic 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....
/* * Copyright 2005 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
package love.wangqi.context; import io.netty.channel.Channel; import io.netty.channel.pool.SimpleChannelPool; import io.netty.handler.codec.http.FullHttpRequest; import io.netty.handler.codec.http.FullHttpResponse; import io.netty.util.AttributeKey; import love.wangqi.codec.RequestHolder; /** * @author: wangqi * @d...
package com.hteos.biz.access.service; import com.hteos.biz.access.entity.Access; import org.springframework.transaction.annotation.Transactional; /** * @author LIQIU * @date 2018-6-29 **/ public interface AccessService { @Transactional void setUser(String username); @Transactional public void sav...
package net.xdclass.base_project; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication //一个注解顶下面3个 public class XdclassApplication { public static void main(String[] args) { SpringApplication.run(XdclassApplication.class, a...
package me.gcx11.survivalgame.api.plugins; /** * Created on 29.8.2017. */ public interface Plugin { /** * Called on plugin loading. */ public void load(); /** * Called on plugin unloading. */ public void unload(); /** * Gets name of the plugin. * @return name of t...
package com.company.Card; import com.company.Database.DB; import com.company.Helpers.Messsage; import com.company.Interfaces.ParentController; import com.company.Navigation.NavController; import com.company.Program; import javafx.fxml.FXML; import javafx.scene.control.Alert; import javafx.scene.control.Button; import ...
/******************************************************************************* * 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...
/* * ============================================================================= * * Copyright (c) 2011-2016, The THYMELEAF team (http://www.thymeleaf.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/ads/googleads/v6/enums/advertising_channel_type.proto package com.google.ads.googleads.v6.enums; public interface AdvertisingChannelTypeEnumOrBuilder extends // @@protoc_insertion_point(interface_extends:google.ads.googleads.v6.enums.Ad...
/* Generated by camel build tools - do NOT edit this file! */ package org.apache.camel.component.websocket; import java.util.Map; import org.apache.camel.CamelContext; import org.apache.camel.spi.GeneratedPropertyConfigurer; import org.apache.camel.spi.PropertyConfigurerGetter; import org.apache.camel.util.CaseInsens...
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file ...
//| Copyright - The University of Edinburgh 2011 | //| | //| Licensed under the Apache License, Version 2.0 (the "License"); | //| you may not use this file except in compliance with the License. | //| You ...
package org.roguewave.grpc.apimethods; import com.google.firestore.admin.v1beta1.CreateIndexRequest; import com.google.firestore.admin.v1beta1.FirestoreAdminGrpc.FirestoreAdminBlockingStub; import com.google.firestore.admin.v1beta1.Index; import com.google.firestore.admin.v1beta1.IndexField; import com.google.firestor...
/* * Copyright 2003 - 2013 The eFaps Team * * 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 ...
package com.thinkaurelius.faunus; import com.thinkaurelius.faunus.mapreduce.util.WritableHandler; import junit.framework.TestCase; import org.apache.hadoop.io.BooleanWritable; import org.apache.hadoop.io.DoubleWritable; import org.apache.hadoop.io.FloatWritable; import org.apache.hadoop.io.IntWritable; import org.apac...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/vision/v1p4beta1/image_annotator.proto package com.google.cloud.vision.v1p4beta1; public interface LocalizedObjectAnnotationOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.vision.v1p4beta1.LocalizedObj...
package com.sunya.electionguard; import com.google.common.collect.ImmutableList; import com.google.common.collect.Iterables; import net.jqwik.api.Example; import net.jqwik.api.ForAll; import net.jqwik.api.Property; import net.jqwik.api.ShrinkingMode; import net.jqwik.api.constraints.IntRange; import java.io.IOExcepti...
package com.gdxrpg.game; import org.robovm.apple.foundation.NSAutoreleasePool; import org.robovm.apple.uikit.UIApplication; import com.badlogic.gdx.backends.iosrobovm.IOSApplication; import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration; import com.gdxrpg.game.Game; public class IOSLauncher extends ...
package com.draconra.data; import org.junit.Test; import static org.junit.Assert.*; /** * Example local unit test, which will execute on the development machine (host). * * @see <a href="http://d.android.com/tools/testing">Testing documentation</a> */ public class ExampleUnitTest { @Test public void addi...
// File Name GreetingClient.java import java.net.*; import java.io.*; public class GreetingClient { public static void main(String [] args) { String serverName = args[0]; int port = Integer.parseInt(args[1]); try { System.out.println("Connecting to " + serverName + " on port " + port); ...
/* * Copyright 2019 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 w...
/* * This file provided by Facebook is for non-commercial testing and evaluation * purposes only. Facebook reserves all rights not expressly granted. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS...
package test; public class Test { }
/* * 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.yunionyun.mcp.mcclient.managers.impl; import com.yunionyun.mcp.mcclient.EndpointType; import com.yunionyun.mcp.mcclient.managers.KeystoneManager; /** * @author zxc * @date 2020/01/18 */ public class PolicyManager extends KeystoneManager { public PolicyManager() { this(EndpointType.AdminURL); } pu...
package io.github.dunwu.springboot; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SpringBootWebFastjsonApplication { public static void main(String[] args) { SpringApplication.run(SpringBootWebFastjsonApp...
package org.swtk.commons.dict.wordnet.indexbyid.instance.p0.p5; import java.util.ArrayList; import java.util.Collection; import java.util.Map; import java.util.TreeMap; import org.swtk.common.dict.dto.wordnet.IndexNoun; import com.trimc.blogger.commons.utils.GsonUtils; public final class WordnetNounIndexIdInstance0...
/* * Copyright (c) 2014 Orange. * * 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, modify, merge, publish, di...
package br.com.adamis.utils; public class PersonalItem { private String name; private Object value; public String getName() { return name; } public void setName(String name) { this.name = name; } public Object getValue() { return value; } public void setValue(Object value) { this.value = value; ...
package smoovie.apps.com.kayatech.smoovie.model; import com.google.gson.annotations.SerializedName; import org.parceler.Parcel; @Parcel(Parcel.Serialization.BEAN) public class Reviews { @SerializedName("id") private String id; @SerializedName("author") private String author; @SerializedName("...
package com.untzuntz.coredata.json; import com.jayway.jsonpath.Configuration; import com.jayway.jsonpath.JsonPath; import com.jayway.jsonpath.PathNotFoundException; import com.mongodb.BasicDBList; import com.mongodb.BasicDBObject; import com.mongodb.DBObject; import com.untzuntz.coredata.exceptions.UnknownFilterKey; i...
package org.example.domain.typequery; import org.example.domain.Customer; import org.avaje.ebean.typequery.TQRootBean; import org.avaje.ebean.typequery.property.QLong; import org.avaje.ebean.typequery.property.QString; import org.example.domain.typequery.assoc.QAssocContact; public class QCustomer extends TQRootBean...
package pl.aprilapps.motiondetectorsample; import android.app.Dialog; import android.app.ProgressDialog; import android.content.Intent; import android.os.AsyncTask; import android.os.StrictMode; import android.support.design.widget.NavigationView; import android.support.v4.widget.DrawerLayout; import android.support.v...
package org.tessell.gwt.user.client.ui; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.tessell.widgets.StubWidget; import com.google.gwt.event.logical.shared.BeforeSelectionEvent; import com.google.gwt.event.logical.shared.BeforeSelectionHandler; import com.google.gwt.event....
package uk.gov.crowncommercial.examples.api1.controllers; import java.util.concurrent.atomic.AtomicLong; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; import uk.gov.crowncommerci...
/** * Copyright 2014-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package io.claudio.movieapis; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; import java.util.List; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org....
package org.jabref.model.util; import java.util.EnumMap; import java.util.HashMap; import java.util.Map; import java.util.Optional; public class MultiKeyMap<K1 extends Enum<K1>, K2, V> { private final EnumMap<K1, Map<K2, V>> map; public MultiKeyMap(Class<K1> keyType) { map = new EnumMap<>(keyType); ...
package com.platform.kvstore; import android.util.Log; import com.platform.APIClient; import com.platform.interfaces.KVStoreAdaptor; import com.platform.sqlite.KVItem; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; import java.sql.Date; import java.util.ArrayList...
/* * 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 edu.harvard.iq.dataverse.branding; <<<<<<< HEAD ======= import edu.harvard.iq.dataverse.DataverseServiceBean; import edu.harvard.iq.dataverse.settings.SettingsServiceBean; >>>>>>> dataverse-5.3/master import edu.harvard.iq.dataverse.util.BundleUtil; import java.io.UnsupportedEncodingException; import java.util...
/* * Copyright 2010-2013 Ning, Inc. * * Ning licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2015-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package com.agoda.boots.sample; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; import android.widget.ProgressBar; import android.widget.TextView; import com.agoda.boots.Boots; import com.agoda.boots.Configuration; import com.agoda.boots.Executor; import com.agoda....
/* * Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "licen...
package com.easy.day7; import java.util.*; public class Dijkstra { //Dijkstra 适用范围:要求权值没有负数的边。累加和为负数的环,那就没有最小的值,一直转值会越来越小 public static HashMap<Node, Integer> dijkstra1(Node head) { HashMap<Node, Integer> distanceMap = new HashMap<>(); distanceMap.put(head, 0); HashSet<Node> selected...
/* Copyright 2017 Digital Learning Sciences (DLS) at the University Corporation for Atmospheric Research (UCAR), P.O. Box 3000, Boulder, CO 80307 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 a...
/* * Copyright © 2016 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...
package org.apereo.cas.config; import org.apache.commons.lang.StringUtils; import org.apereo.cas.CasProtocolConstants; import org.apereo.cas.authentication.AuthenticationHandler; import org.apereo.cas.authentication.principal.PrincipalResolver; import org.apereo.cas.configuration.CasConfigurationProperties; import org...
/* * 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 ...
/* * 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 u...
package com.jtmelton.asa.domain; import com.google.common.base.MoreObjects; import org.json.JSONObject; import java.util.Objects; public class Package { private String name; public Package(String name) { this.name = name; } public String getName() { return name; } public vo...
/* * Copyright 2012 Phil Pratt-Szeliga and other contributors * http://chirrup.org/ * * See the file LICENSE for copying permission. */ package org.trifort.rootbeer.testcases.rootbeertest.serialization; import java.util.ArrayList; import java.util.List; import org.trifort.rootbeer.runtime.Kernel; import org.tri...
package com.afeng.web.module.oss.cloud; import com.afeng.web.framework.exception.AdminException; import com.qcloud.cos.COSClient; import com.qcloud.cos.ClientConfig; import com.qcloud.cos.request.UploadFileRequest; import com.qcloud.cos.sign.Credentials; import net.sf.json.JSONObject; import org.apache.commons.io.IOUt...
/****************************************************************************** * Copyright (c) 2006, 2010 VMware Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distribut...
package com.zykj.landous2.adapter; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Context; import android.content...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE129_Improper_Validation_of_Array_Index__Property_array_read_check_min_67b.java Label Definition File: CWE129_Improper_Validation_of_Array_Index.label.xml Template File: sources-sinks-67b.tmpl.java */ /* * @description * CWE: 129 Improper Validation of Array Index * Ba...
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.chrome.browser.ntp.search; import android.content.res.ColorStateList; import android.graphics.drawable.Drawable; import android.text...
package com.gigya.android.sdk.account; import com.gigya.android.sdk.Config; import com.gigya.android.sdk.account.models.GigyaAccount; import com.gigya.android.sdk.utils.CustomGSONDeserializer; import com.gigya.android.sdk.utils.ObjectUtils; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.go...
/* * Copyright (C) 2013 - 2021 Oracle and/or its affiliates. All rights reserved. */ package oracle.pgql.lang.ir.unnest; public interface RowsPerMatch { RowsPerMatchType getRowsPerMatchType(); }
/* * Copyright (C) 2012,2013 Renard Wellnitz. * * 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 ...