text stringlengths 7 995k |
|---|
package no.nav.security.token.support.spring.integrationtest;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class ProtectedApplication {
public static void main(String[] args) {
new SpringApplication(Pr... |
package com.peregrine.replication;
/*-
* #%L
* admin base - Core
* %%
* Copyright (C) 2017 headwire inc.
* %%
* 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 copyrigh... |
package seedu.tracker.commons.util;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static seedu.tracker.testutil.Assert.assertThrows;
import java.io.IOException;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.Opt... |
package net.snowyhollows.ogam.rr.feature.combat.component;
import net.snowyhollows.ogam.rr.core.Entity;
public interface Attackable {
void isAttackedBy(Entity entity);
} |
// --------------------------------------------------------------------------------
// Copyright 2002-2021 Echo Three, LLC
//
// 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:/... |
/**
* synopsys-detect
*
* Copyright (c) 2020 Synopsys, Inc.
*
* 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 u... |
/*
* Copyright 2011-2018 CPJIT Group.
*
*
* 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 ... |
package de.julian.baehr.immutable.listeners;
import de.julian.baehr.immutable.generated.JavaParser.ConstDeclarationContext;
import de.julian.baehr.immutable.generated.JavaParser.ConstantDeclaratorContext;
import de.julian.baehr.immutable.listeners.exceptions.ListenerException;
import de.julian.baehr.immutable.models.M... |
/*
* Copyright (c) 2016-present The Limitart 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 of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
// Targeted by JavaCPP version 1.5.7: DO NOT EDIT THIS FILE
package org.bytedeco.tensorrt.nvinfer;
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.globa... |
/*******************************************************************************
* Copyright (c) 2010 Robert "Unlogic" Olofsson (unlogic@unlogic.se).
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this d... |
/*
* 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 under t... |
/*
* 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 Models;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
/**
*
* @author mateu
*/
public cl... |
package com.crab.entity;
import java.util.ArrayList;
import java.util.List;
public class ResourceExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table t_resource
*
* @mbggenerated Fri Apr 24 11:32:18 CST 2015
*/
protected String ... |
package engine;
public class EngineCommand {
public static void closeGame() {
System.exit(0);
}
} |
package core.backend;
import com.fasterxml.jackson.databind.ObjectMapper;
import core.backend.problem.choice.domain.Choice;
import core.backend.problem.choice.domain.ChoiceData;
import core.backend.problem.choice.domain.State;
import core.backend.likeWorkbook.domain.LikeWorkbook;
import core.backend.likeWorkbook.servi... |
/*
* Copyright 2007 Kasper B. Graversen
*
* 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.xzy.service.util;
import com.xzy.dao.INewsDao;
import com.xzy.service.IReptileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
import java.text.SimpleDateFormat;
import java.... |
/*
* The MIT License
*
* Copyright (c) 2016, CloudBees, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, c... |
package mcjty.modtut.network;
import net.minecraftforge.fml.common.network.NetworkRegistry;
import net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper;
import net.minecraftforge.fml.relauncher.Side;
public class PacketHandler {
private static int packetId = 0;
public static SimpleNetworkWr... |
// ***************************************************************************************************************************
// * 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 regardi... |
package com.quickblox.ui.kit.chatmessage.adapter;
import android.content.Context;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.util.SparseIntArray;
import android.view.L... |
/*
* 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.engwork.pgndb.chessgamesloader;
import com.engwork.pgndb.chessgamesconverter.model.Event;
import java.util.Map;
import java.util.UUID;
public interface EventsLoaderBean {
Map<UUID, Event> insertWithIdCompetition(Map<UUID, Event> eventsMap, String databaseName);
} |
package org.batfish.datamodel.vendor_family.cisco;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
import java.util.SortedMap;
import java.util.TreeMap;
public class Logging implements Serializable {
private static final String PROP_BUFFERED = "buffered";
private static final St... |
// This is a generated file. Not intended for manual editing.
package intellij.haskell.psi.impl;
import java.util.List;
import org.jetbrains.annotations.*;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.util.PsiTreeUtil;
import s... |
package com.dimples.core.configure;
import com.dimples.core.helper.RedisHelper;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.PropertyAccessor;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.boot.autoconfigure.condition.ConditionalOnBea... |
package ee.bitweb.springframework.security.estonianid.authentication;
import ee.sk.smartid.*;
import ee.sk.smartid.exception.*;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.c... |
/*
* This file is part of Sponge, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwar... |
/**
* 数字范围按位与:https://leetcode-cn.com/problems/bitwise-and-of-numbers-range/
*/
public class BitwiseAndOfNumbersRange {
public static int rangeBitwiseAnd(int left, int right) {
while (left < right) {
right &= (right - 1);
}
return right;
}
public static void main(Stri... |
// Copyright 2017 The Nomulus Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... |
package com.xavier.authorization.util;
import java.util.UUID;
/**
* <p>Tocken串生成工具类</p>
*
* @author NewGr8Player
* @date 2017/10/21
*/
public class TokenUtil {
/**
* <p>Tocken生成方法</p>
*
* @return String Token串
*/
public static String Generator() {
/* 使用uuid作为源token */
... |
/**
* Copyright (C) 2011 Brian Ferris <bdferris@onebusaway.org>
* Copyright (C) 2012 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/lic... |
package io.quarkus.creator.phase.augment;
import java.nio.file.Path;
import java.util.Map;
import java.util.Set;
/**
* Represents an outcome of {@link AugmentPhase}
*
* @author Alexey Loubyansky
*/
public interface AugmentOutcome {
/**
* Directory containing original user application classes.
*
... |
/**
* Created by full on 2017/6/14.
*/
package com.full.cn; |
/*
* #%L
* ImageJ2 software for multidimensional image processing and analysis.
* %%
* Copyright (C) 2009 - 2021 ImageJ2 developers.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of... |
package ch10.simple;
class MyExp extends Exception {
}
public class Main {
public static void main(String[] args) throws MyExp {
throw new MyExp();
}
}
// Exception in thread "main" ch10.simple.MyExp
// at ch10.simple.Main.main(Main.java:8) |
/*******************************************************************************
* 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... |
package com.dianping.cat.system.notify.render;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.dianping.cat.consumer.problem.model.entity.ProblemReport;
import com.dianp... |
/*
* Copyright (C) 2007 Esmertec AG. Copyright (C) 2007 The Android Open Source
* 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 of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.... |
/*
* This file is part of SpongeAPI, licensed under the MIT License (MIT).
*
* Copyright (c) SpongePowered <https://www.spongepowered.org>
* Copyright (c) contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Soft... |
package com.twinkle.framework.core.asm.event.components;
import javafx.scene.Node;
import com.twinkle.framework.core.asm.event.Event;
import org.objectweb.asm.tree.ClassNode;
import org.objectweb.asm.tree.FieldNode;
/**
* Event for when a field is selected.
*
* @author Matt
*/
public class FieldOpenEvent extends... |
package site.morn.data.group;
import javax.validation.groups.Default;
/**
* 登录
*
* @author timely-rain
* @since 1.0.0, 2019/1/10
*/
public interface Login extends Default {
} |
package com.ard333.quarkusjwt.model;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;
/**
*
* @author ard333
*/
@NoArgsConstructor @AllArgsConstructor @ToString
public class AuthResponse {
public String token;
} |
package collado.fernando.todoapp.models;
/**
* Created by Fernando on 3/02/18.
*/
public class Task {
public static final String TAG = Task.class.getSimpleName();
public static final String TABLE = "tasks";
// Labels Table Column names
public static final String KEY_ID = "id";
public static fi... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... |
package io.github.thatsmusic99.headsplus.listeners;
import io.github.thatsmusic99.headsplus.HeadsPlus;
import io.github.thatsmusic99.headsplus.api.events.PlayerHeadDropEvent;
import io.github.thatsmusic99.headsplus.commands.maincommand.DebugPrint;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukki... |
package org.jetlinks.community.gateway.supports;
import lombok.Getter;
import org.jetlinks.community.gateway.*;
import reactor.core.publisher.EmitterProcessor;
import reactor.core.publisher.Flux;
import reactor.core.publisher.FluxSink;
import reactor.core.publisher.Mono;
import javax.annotation.Nonnull;
import java.u... |
package com.github.tangyi.user.api.constant;
/**
* @author tangyi
* @date 2019/07/06 16:16
*/
public class AttachmentConstant {
/**
* 普通附件
*/
public static final String BUSI_TYPE_NORMAL_ATTACHMENT = "0";
/**
* 用户头像
*/
public static final String BUSI_TYPE_USER_AVATAR = "1";
... |
package io;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
import java.util.StringJoiner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Config {
/**
* Path to a file.
*/
private fin... |
package icu.fordring.dao;
import icu.fordring.beans.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.Set;
/**
* @Description
* @ClassName RoleDao
* @Author fordring
* @date 2020.03.19 14:27
*/
public interface RoleDao extends JpaRepository<Role,Long> {
Role findRoleByName... |
package com.entfrm.biz.intelligent.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* <p>
* 数据配置
* </p>
*
* @Author: entfrm开发团队-王翔
* @Date: 2021/2/9
*/
@Data
@Accessors(chain = true)
@EqualsAndHashCode... |
import java.util.Scanner;
class saluta {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String name = "";
System.out.println("What's your name?\nPlease, insert your name: ");
name = scan.nextLine();
System.out.println("Hello, " + name);
}
} |
/*
* 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) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.compute.models;
import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.compute.ComputeManager;
import com.azure.resourcemanager.compute.fluent.models.ImageInner;
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 file to You under the Apache License, Version 2.0 (the
* "License"); you may not ... |
package org.firstinspires.ftc.teamcode;
import android.util.Log;
import com.qualcomm.robotcore.eventloop.opmode.Autonomous;
import com.qualcomm.robotcore.hardware.DcMotor;
import org.firstinspires.ftc.robotcore.external.navigation.DistanceUnit;
import org.firstinspires.ftc.robotcore.external.tfod.Recognition;
impor... |
/*-
* Copyright (C) 2013-2014 The JBromo Authors.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, ... |
/*
* Copyright (c) 2007-2011 by The Broad Institute of MIT and Harvard. All Rights Reserved.
*
* This software is licensed under the terms of the GNU Lesser General Public License (LGPL),
* Version 2.1 which is available at http://www.opensource.org/licenses/lgpl-2.1.php.
*
* THE SOFTWARE IS PROVIDED "AS IS." TH... |
/* ###
* IP: GHIDRA
*
* 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 writin... |
package act.app.event;
import act.app.App;
/**
* Emitted immediately when {@link App}'s dependency injector is provisioned
*/
public class AppDependencyInjectorProvisioned extends AppEvent {
public AppDependencyInjectorProvisioned(App source) {
super(AppEventId.DEPENDENCY_INJECTOR_PROVISIONED, source);
... |
package com.box.l10n.mojito.iterators;
import java.util.ArrayDeque;
import java.util.Queue;
import java.util.Spliterators;
import java.util.function.Consumer;
/**
* Generic {@link java.util.Spliterator} to fetch data from a Paginated source.
*
* @param <T>
*/
public class PageFetcherOffsetAndLimitSplitIterator<T>... |
/*
* 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.coolweather.android.util;
import okhttp3.OkHttpClient;
import okhttp3.Request;
public class HttpUtil {
public static void sendOkHttpRequest(String address, okhttp3.Callback callback){
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder().url(address).build... |
package com.sekgua.gulimall.product.controller;
import java.util.Arrays;
import java.util.Map;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.a... |
/*
* 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.cs.algorithm;
import java.util.Arrays;
public class Kruskal {
public static void main(String[] args) {
int V = 7;
int[][] E = {
{1,7,12},
{5,7,73},
{4,7,13},
{3,6,37},
{2,5,62},
{3,5,20},
... |
/* The following code was generated by JFlex 1.7.0-SNAPSHOT tweaked for IntelliJ platform */
package com.jetbrains.python.psi.types;
import com.intellij.lexer.FlexLexer;
import com.jetbrains.python.psi.PyElementType;
import static com.jetbrains.python.psi.types.PyTypeTokenTypes.*;
/**
* This class is a scanner ge... |
package com.hades.example.designpatterns.command._5_remote_control_with_macro_and_undo;
public class TVSetInputChannelCommand implements Command {
private TV mTV;
private int prevChannel;
public TVSetInputChannelCommand(TV TV) {
mTV = TV;
}
@Override
public void execute() {
if... |
/*
* This file is part of choco-solver, http://choco-solver.org/
*
* Copyright (c) 2021, IMT Atlantique. All rights reserved.
*
* Licensed under the BSD 4-clause license.
*
* See LICENSE file in the project root for full license information.
*/
package org.chocosolver.util.tools;
import gnu.trove.map.hash.TInt... |
/*
* Copyright 2016 jeasonlzy(廖子尧)
*
* 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 com.userzrq.jvm.beanInitial;
import io.jsonwebtoken.lang.Strings;
public class MemberVariable {
public static void main(String[] args) {
System.out.println(String.class.getClass());
}
} |
/*
* 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 2015 - 2017 Atlarge Research Team,
* operating at Technische Universiteit Delft
* and Vrije Universiteit Amsterdam, the Netherlands.
*
* 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... |
package com.example.aplikasiuntukuts;
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
publi... |
//////////////////////////////////////////////////////////////////////////////
// Copyright 2011 Alex Leffelman
//
// 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.o... |
/*
* Copyright 2002-2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package vip.lematech.hrun4j.helper;
import cn.hutool.core.util.StrUtil;
import vip.lematech.hrun4j.common.Constant;
import vip.lematech.hrun4j.common.DefinedException;
import java.io.*;
import java.net.URLDecoder;
import java.util.*;
import java.util.regex.Matcher;
/**
* website http://lematech.vip/
* @author lem... |
/*
* Copyright 2016-2020 The OpenTracing 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 ... |
/*
* Copyright (c) 2020 free-ygo
*
* 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... |
/*
* Copyright (c) 2004-2021, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of cond... |
package tr.com.poyrazinan.utils;
import com.google.zxing.client.j2se.MatrixToImageWriter;
import com.google.zxing.common.BitMatrix;
import java.awt.*;
public class QRAuthorize {
/**
* Generate QRCode in image format.
*
* @param matrix
*/
public static Image generateQRCodeImage(BitMatrix ... |
package ie.dit.devaney1.joseph;
import java.io.IOException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.google.appengine.api.blobstore.BlobKey;
import com.google.appengine.api.blobstore.BlobstoreService;
import com.goo... |
/*
Copyright 2013, 2016 Nationale-Nederlanden, 2020-2021 WeAreFrank!
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 require... |
/*-
* #%L
* Spring Auto REST Docs Core
* %%
* Copyright (C) 2015 - 2021 Scalable Capital 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/licen... |
package ca.demo.services;
import ca.demo.commands.IngredientCommand;
public interface IngredientService {
IngredientCommand findByRecipeIdAndIngredientId(Long recipeId, Long ingredientId);
IngredientCommand saveIngredientCommand(IngredientCommand command);
void deleteById(Long recipeId, Long idToDelet... |
package io.cattle.platform.engine.server.impl;
import io.cattle.platform.lock.definition.AbstractLockDefinition;
public class ProcessDispatchLock extends AbstractLockDefinition {
public ProcessDispatchLock(Long id) {
super("PROCESS.DISPATCH." + id);
}
} |
/*
* Copyright (c) 2020. https://rxmicro.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
package com.example.poc.app.security;
import lombok.extern.log4j.Log4j2;
import org.springframework.lang.Nullable;
import org.springframework.security.access.expression.SecurityExpressionRoot;
import org.springframework.security.access.expression.method.MethodSecurityExpressionOperations;
import org.springframework.se... |
/*
* Copyright 2011-2016 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) 2015 Sebastian Daschner, sebastian-daschner.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/LICENSE2.0
*
* Unless requi... |
/*
* 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 cabernet1.monopoly.lib.persistence;
import cabernet1.monopoly.logging.Logger;
import cabernet1.monopoly.logging.LoggerFactory;
import javax.json.Json;
import javax.json.JsonObject;
import javax.json.JsonObjectBuilder;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.StringWriter;
impo... |
package com.platform.entity;
import java.io.Serializable;
/**
* 实体
* 表名 attribute_category
*
* @author taylor
* @email 516195940@qq.com
* @date 2017-08-17 16:13:27
*/
public class AttributeCategoryEntity implements Serializable {
private static final long serialVersionUID = 1L;
//
private Integer... |
/*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... |
// Copyright 2000-2020 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.
/*
* @author max
*/
package com.intellij.util.ui;
import com.intellij.openapi.util.NlsContexts;
import com.intellij.ui.components.JBLabel;
import org.jetbrains.annotations.Not... |
/*L
* Copyright (c) 2006 SAIC, SAIC-F.
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/rembrandt/LICENSE.txt for details.
*/
// Generated by OJB SchemeGenerator
package gov.nih.nci.rembrandt.dbbean;
/**
* caIntegrator License
*
* Copyright 2001-2005 Science Applicati... |
package com.zynis.knowladge.unit;
import helpers.CustomSetWithConstantHashCodeKey;
import org.junit.Before;
import org.junit.Test;
import java.util.HashSet;
import java.util.Set;
import static org.junit.Assert.assertEquals;
public class CustomSetWithContsHashCodeKeyTest {
Set<CustomSetWithConstantHashCodeKey> ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2016 Christian Schudt
*
* 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
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.