text stringlengths 7 1.01M |
|---|
package org.minimalj.repository.query;
import java.io.Serializable;
import org.minimalj.model.Keys;
import org.minimalj.model.properties.PropertyInterface;
public abstract class Query implements Serializable {
private static final long serialVersionUID = 1L;
public Query limit(int rows) {
return new Limit(this,... |
/*
* Copyright (c) 2008-2019, Hazelcast, 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 ... |
package com.github.zhenwei.core.crypto.generators;
import com.github.zhenwei.core.crypto.AsymmetricCipherKeyPair;
import com.github.zhenwei.core.crypto.AsymmetricCipherKeyPairGenerator;
import com.github.zhenwei.core.crypto.KeyGenerationParameters;
import com.github.zhenwei.core.crypto.params.Ed448PrivateKeyParameters... |
/*
* 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
* distribut... |
package tellh.com.gitclub.model.entity;
import android.support.annotation.IntDef;
import android.text.TextUtils;
import java.util.List;
import tellh.com.gitclub.common.utils.StringUtils;
/**
* Created by tlh on 2016/10/2 :)
*/
public class GitTree {
public static final int FILE = 0;
public static final i... |
/**
*
*/
package com.format;
import org.apache.log4j.Logger;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import com.general.GeneralUtil;
/**
* This class is used to display the json data in the html table
* @author Amandeep Rana
*
*
*/
public class FormatJSONUtil {
... |
package net.stargraph.core.processors;
/*-
* ==========================License-Start=============================
* stargraph-core
* --------------------------------------------------------------------
* Copyright (C) 2017 Lambda^3
* --------------------------------------------------------------------
* Permissi... |
/*
* Copyright 2015 Google 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 applica... |
package day9;
import gnu.trove.list.array.TLongArrayList;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
public class Exo3 {
public static void main(String[] args) throws IOException {
long start = System.nanoTim... |
package com.cx.service.impl;
import com.cx.dao.IClazzDao;
import com.cx.entity.Clazz;
import com.cx.service.IClazzService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.transaction.Transactional;
import java.util.List;
/**
* Created by Adm... |
package org.jenkinsci.plugins.jvctb;
import static org.jenkinsci.plugins.jvctb.config.CredentialsHelper.migrateCredentials;
import com.google.common.base.Optional;
import hudson.Extension;
import hudson.model.Item;
import hudson.util.FormValidation;
import hudson.util.ListBoxModel;
import java.io.Serializable;
import... |
package org.hl7.fhir.r5.utils;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Base64;
import java.util.Date;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import org.apache.commons.lang3.NotIm... |
/*
* Copyright © 2015-2019 Santer Reply S.p.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.0
*
* Unless required by applicable la... |
package creoii.creo.core.mixin.item;
import creoii.creo.core.util.tags.BlockTags;
import net.minecraft.block.AbstractBlock;
import net.minecraft.block.Block;
import net.minecraft.item.EndCrystalItem;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm... |
/*
* Copyright 2013 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 applica... |
package me.xlgp.xiquzimu.config;
public class FetchRepositoryConfig {
public static final String NAME = "FetchRepositoryConfig";
public static final String REPOSITORY = "repository";
private static Integer repositoryType = 0;
public enum REPOSITORY_ENUM{
GITEE,
GITHUB,
}
publ... |
package ua.com.fielden.platform.example.dnd.classes;
import java.awt.Color;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import edu.umd.cs.piccolo.PCamera;
import edu.umd.cs.piccolo.PCanvas;
import edu.umd.cs.piccolo.PLayer;
import edu.umd.cs.piccolo.PNode;
import edu.umd.cs.piccol... |
package com.tersesystems.echopraxia.logstash;
import static org.slf4j.event.EventConstants.*;
import com.tersesystems.echopraxia.api.*;
import com.tersesystems.echopraxia.api.CoreLogger;
import com.tersesystems.echopraxia.api.Value;
import java.util.*;
import java.util.concurrent.CompletableFuture;
import java.util.c... |
package com.example;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.LambdaLogger;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.*;
public class MessageCreatorTest {
@Test
@Igno... |
package com.smn.it.taotaomall.sso.service;
import com.alibaba.fastjson.JSONObject;
import com.smn.it.taotaomall.sso.entity.common.TokenInfoVO;
import com.smn.it.taotaomall.sso.entity.common.UserInfoVO;
public interface TokenServices {
/**
* 验证token的合法性
* @param tokenInfoVO
* @return
*/
J... |
/*
* Copyright (c) 2014, Lukas Tenbrink.
* http://lukas.axxim.net
*/
package ivorius.pandorasbox.effectcreators;
import ivorius.pandorasbox.PandorasBoxHelper;
import ivorius.pandorasbox.effects.PBEffect;
import ivorius.pandorasbox.effects.PBEffectGenWorldSnake;
import ivorius.pandorasbox.random.DValue;
import ivor... |
package sbsrcounter.sbsrcounter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
// responsible for root request
@Controller
public class DefaultController {... |
package proj_exeptions;
public class QueryException extends Exception {
public QueryException(String message) {
super(message);
}
}
|
package com.xuegao.springboot_tool.spring.beandefinitionregistrypostprocessor;
import com.xuegao.springboot_tool.spring.beandefinitionregistrypostprocessor.bean.OriginBean;
import org.springframework.beans.factory.annotation.Autowired;
/**
* Created by @author yihui in 16:24 18/10/13.
*/
public class AutoDIBean {
... |
/*
* MIT License
*
* Copyright (c) 2019 Codepenguin.org
*
* 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, ... |
package fr.polytech.codev.backend.adapters;
import fr.polytech.codev.backend.entities.ChartPeriod;
import javax.json.Json;
import javax.json.JsonObject;
import javax.json.bind.adapter.JsonbAdapter;
public class ChartPeriodJsonbAdapter implements JsonbAdapter<ChartPeriod, JsonObject> {
@Override
public JsonO... |
package io.immutables.micro;
import com.google.inject.Module;
import org.immutables.data.Data;
import org.immutables.value.Value;
import org.immutables.value.Value.Immutable;
import org.immutables.value.Value.Parameter;
@Data
@Value.Enclosing
public interface Servicelet {
Manifest manifest();
Module module();
... |
package com.lede.blockchain.util;
import com.lede.blockchain.constant.Rcode;
import java.util.HashMap;
import java.util.Map;
/**
* 返回数据
*/
public class R extends HashMap<String, Object> {
private static final long serialVersionUID = 1L;
public R() {
put("code", 200);
}
public static R err... |
/**
*/
package constructor3D.util;
import constructor3D.*;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* The <b>Adapter Factory</b> f... |
package org.danyuan.application.softm.organization.controller;
import java.util.List;
import org.danyuan.application.softm.organization.po.SysRolesJurisdictionInfo;
import org.danyuan.application.softm.organization.service.SysRolesJurisdictionService;
import org.danyuan.application.softm.organization.vo.SysRolesJuris... |
package com.example.p2springboot;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class P2SpringBootTests {
@Test
void contextLoads() {
}
}
|
package org.apache.maven.archetype.exception;
/*
* 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 Apach... |
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.editor.impl;
import com.intellij.ide.DataManager;
import com.intellij.openapi.Disposable;
import com.intellij.openapi.actionSystem.*;
import com.inte... |
/*******************************************************************************
* Copyright (c) 2015 Low Latency Trading Limited : Author Richard Rose
* 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 L... |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* 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.or... |
package gt.muni.chiantla.content;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import java.io.Serializable;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
... |
package com.alibaba.nacos.test.naming;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import com.alibaba.nacos.api.PropertyKeyConst;
import com.alibaba.nacos.api.naming.NamingFactory;
import com.alibaba.nacos.api.naming.... |
package io.github.shanqiang.table;
import java.util.HashMap;
import java.util.Map;
public class As {
private final Map<String, String> map = new HashMap<>();
public As as(String src, String dst) {
map.put(src, dst);
return this;
}
public Map<String, String> build() {
return m... |
package net.thucydides.core.util;
/**
* Utility class for implementing equals().
* @author johnsmart
*
*/
public final class EqualsUtils {
private EqualsUtils() {}
public static boolean areEqual(final boolean aThis, final boolean aThat){
return aThis == aThat;
}
public static boolean a... |
package com.amazonaws.mws.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
... |
package io.swagger.api;
import java.io.IOException;
import javax.servlet.*;
import javax.servlet.http.HttpServletResponse;
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.SpringCodegen", date = "2020-01-11T19:53:18.487Z[GMT]")
public class ApiOriginFilter implements javax.servlet.Filter {
... |
/*
* Copyright (c) 2002-2020 Gargoyle Software 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 ... |
/*
* Copyright (c) 2016 Cisco 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 applic... |
/* ========================================================================
* PlantUML : a free UML diagram generator
* ========================================================================
*
* (C) Copyright 2009-2020, Arnaud Roques
*
* Project Info: https://plantuml.com
*
* If you like this project or if ... |
/*
* 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.railinc.entities.webhook.request;
import java.io.Serializable;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.build... |
/**
* Copyright (C) 2018-2020
* All rights reserved, Designed By www.yixiang.co
*/
package co.zhenxi.tools.service;
import co.zhenxi.tools.service.dto.QiniuQueryCriteria;
import co.zhenxi.tools.domain.QiniuConfig;
import co.zhenxi.tools.domain.QiniuContent;
import org.springframework.data.domain.Pageable;
import o... |
package org.duracloud.storage.provider;
import org.duracloud.storage.error.TaskException;
public interface TaskProviderFactory {
/**
* Retrieves the primary task provider for a given customer.
*
* @return
* @throws org.duracloud.storage.error.StorageException
*/
public TaskProvider g... |
package vehicle;
import data.GenericData;
import io.restassured.http.ContentType;
import io.restassured.response.Response;
import net.serenitybdd.junit.runners.SerenityParameterizedRunner;
import net.thucydides.core.annotations.Steps;
import net.thucydides.core.annotations.Title;
import net.thucydides.core.annotations... |
package com.alex.develop.stockanalyzer;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.conte... |
/*
* Copyright 2018 Daniel Zarzeczny
*
* 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... |
/*******************************************************************************
* Copyright 2018 General Electric Company
*
* 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:... |
/*
* Copyright 2008-present MongoDB, Inc.
* Copyright 2018 Cezary Bartosiak
*
* 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... |
/*
* Copyright (C) 2016 Paul Watts (paulcwatts@gmail.com),
* University of South Florida (sjbarbeau@gmail.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... |
/*
* The MIT License
*
* Copyright (c) 2021, Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
*
* 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, includin... |
package shopping.cart;
import akka.actor.typed.ActorSystem;
import akka.actor.typed.Behavior;
import akka.actor.typed.javadsl.AbstractBehavior;
import akka.actor.typed.javadsl.ActorContext;
import akka.actor.typed.javadsl.Behaviors;
import akka.actor.typed.javadsl.Receive;
import akka.management.cluster.bootstrap.Clus... |
/*
* Copyright (c) 2017, 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/... |
/**
* Copyright 2016 Netflix, 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 ... |
package cn.download.core.utils;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.BiConsumer;
/**
* @description: 简单定时缓存
* @author: houyu
* @create: 2018-12-05 00:02
*
* 使用:
* SimpleTimeCache<String, Object> build = SimpleTimeCache.<Stri... |
package com.packt.modern.api.service;
import com.packt.modern.api.entity.AddressEntity;
import com.packt.modern.api.model.AddAddressReq;
import java.util.Optional;
/**
* @author : github.com/sharmasourabh
* @project : Chapter04 - Modern API Development with Spring and Spring Boot
**/
public interface AddressServic... |
/*
* Copyright 2017-2022 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 2019 LinkedIn Corporation
* All Rights Reserved.
*
* Licensed under the BSD 2-Clause License (the "License"). See License in the project root for
* license information.
*/
package com.linkedin.android.litr.demo;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflater;... |
package com.badugi.game.logic.model.vo.api.match;
/**
* 赏金获得奖励内容
*
* @author amin
*/
public class RewardDetail {
private int ti;// 门票ID
private int tt;// 门票张数
private int oi;// 实物ID
private int ot;// 实物个数
private int m;// 大师分
private int g;// 金块
private double am;// 奖金
public int getTi() {
return ti;
... |
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name: AbstractSessionAccessBean.java
package com.ecap.util;
import javax.ejb.EJBObject;
// Referenced classes of package com.ecap.util:
// ... |
package jp.cccis.marun.pod;
import java.io.IOException;
import java.nio.file.DirectoryStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import java.util.jar.JarFile;
import lombok.Value;
public final class Resour... |
package com.zyu.wsecx.crypto.params;
import cn.org.bjca.wsecx.core.crypto.CipherParameters;
public class AsymmetricKeyParameter implements CipherParameters {
boolean privateKey;
public AsymmetricKeyParameter(boolean privateKey) {
this.privateKey = privateKey;
}
public boolean isPrivate() {
return privateKey... |
package visuals;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Graphics2D;
import main.ArrayVisualizer;
import utils.Highlights;
import utils.Renderer;
/*
*
MIT License
Copyright (c) 2019 w0rthy
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software an... |
/* 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... |
/*
* MIT License
*
* Copyright (c) 2020 Mazzie S.
*
* 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... |
package com.popupmc.soloexperience.events;
import com.popupmc.soloexperience.SoloExperience;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.configuration.file.FileConfiguration;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org... |
package org.netty.study.nio.scattergather;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.channels.GatheringByteChannel;
import java.nio.channels.ScatteringByteChannel;
public class Sc... |
package com.silentgo.json;
/**
* Project : json
* Package : com.silentgo.json
*
* @author <a href="mailto:teddyzhu15@gmail.com" target="_blank">teddyzhu</a>
* <p>
* Created by teddyzhu on 2017/1/24.
*/
public class JSONGlobalConfig {
public static boolean replaceNullWithEmptyString = false;
... |
/*
* Copyright 2017 GetSoftware (http://www.getsoftware.cl)
*
* 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 ... |
package com.packt.cardatabase;
import java.util.Arrays;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconf... |
package com.ronrong.thymeleaf.mat.context;
import com.ronrong.thymeleaf.mat.IDecorationConfiguration;
import com.ronrong.thymeleaf.mat.entity.Module;
import com.ronrong.thymeleaf.mat.entity.Page;
import com.ronrong.thymeleaf.mat.entity.Shop;
import com.ronrong.thymeleaf.mat.entity.Template;
import com.ronrong.thymelea... |
/*
* Copyright 2013-2018 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.shop.utils;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
import org.apache.commons.net.ftp.FTPClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import or... |
/*
* 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 com.JeanRicardo.ClientesApp.ferramentas;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedSt... |
/*
* Copyright 2021 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.
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, softw... |
/*
* Copyright 2018 The Hyve
*
* 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 wr... |
package org.tby.fourdk.core.sample.domain;
import java.util.UUID;
public record GateId(UUID id) {
@Override
public String toString() {
return "GateId{" +
"id=" + id +
'}';
}
}
|
/*
* Password Management Servlets (PWM)
* http://www.pwm-project.org
*
* Copyright (c) 2006-2009 Novell, Inc.
* Copyright (c) 2009-2019 The PWM Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy ... |
package de.wirvsvirus.testresult.backend.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.util.StringUtils;
import de.wirvsvirus.testresult.backend.exceptions.MailSendingException;
import de.wirvsvirus.testresult... |
/*
ShengDao Android Client, DownLoad
Copyright (c) 2014 ShengDao Tech Company Limited
*/
package cn.rongcloud.im.server.network.async;
public class AsyncRequest {
/**
* 请求id
*/
private int requestCode;
/**
* 是否检查网络,true表示检查,false表示不检查
*/
private boolean is... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.02.... |
/*
* Copyright 2000-2009 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... |
package fiuba.algo3.algochess.view.tablero;
import fiuba.algo3.algochess.controller.CasilleroMoverPiezaController;
import fiuba.algo3.algochess.controller.PiezaSeleccionarController;
import fiuba.algo3.algochess.controller.PosicionadorCasilleroController;
import fiuba.algo3.algochess.controller.UsarHabilidadController... |
package com.kidand.algorithms.and.data.structures.datastructures.trie;
import java.util.TreeMap;
/**
* ██╗ ██╗██╗██████╗ █████╗ ███╗ ██╗██████╗
* ██║ ██╔╝██║██╔══██╗██╔══██╗████╗ ██║██╔══██╗
* █████╔╝ ██║██║ ██║███████║██╔██╗ ██║██║ ██║
* ██╔═██╗ ██║██║ ██║██╔══██║██║╚██╗██║██║ ██║
* ██║ ██╗██║██████╔╝... |
/*
* Copyright (c) 2008, Christophe Delory
* 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... |
/*
* This file is generated by jOOQ.
*/
package cn.vertxup.rbac.domain.tables.pojos;
import cn.vertxup.rbac.domain.tables.interfaces.IRRolePerm;
import javax.annotation.Generated;
/**
* This class is generated by jOOQ.
*/
@Generated(
value = {
"http://www.jooq.org",
"jOOQ version:3.10.8"
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE90_LDAP_Injection__database_02.java
Label Definition File: CWE90_LDAP_Injection.label.xml
Template File: sources-sink-02.tmpl.java
*/
/*
* @description
* CWE: 90 LDAP Injection
* BadSource: database Read data from a database
* GoodSource: A hardcoded string
* B... |
/*
* 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) 2021 Huawei Device Co., 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.youngdatafan.portal.model.management.outmodel.mapper;
import com.youngdatafan.portal.model.management.outmodel.entity.DpPortalClearTableRecord;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 清空临时表记录表(DpPortalClearTableRecord)表数据库访问层
*
* @author makejava
* @since 2020-08-03 1... |
package tombenpotter.sanguimancy.entity;
import net.minecraft.entity.EntityCreature;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.*;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.world.World;
public class EntityPlayerPointer extends EntityCreature {
... |
package be.artisjaap.events.action;
import be.artisjaap.events.service.StreamServerEventService;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
@Component
pub... |
/*
* 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 co.arcs.groove.basking;
import android.app.Notification;
import android.app.Service;
import android.content.Context;
import android.content.Intent;
import android.os.IBinder;
import co.arcs.groove.basking.ui.NotificationSyncProgressController;
/**
* A foreground service that ensures the app can continue run... |
/*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.