text
stringlengths
7
995k
/* * Copyright © 2021 LambdAurora <aurora42lambda@gmail.com> * * This file is part of LambdaBetterGrass. * * Licensed under the MIT license. For more information, * see the LICENSE file. */ package dev.lambdaurora.lambdabettergrass.resource; import com.google.common.collect.Sets; import dev.lambdaurora.lambdab...
/* * Copyright 2014-2019 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 daomephsta.unpick; import java.io.PrintWriter; import java.io.StringWriter; import java.util.function.Consumer; import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.util.*; public class Utils { public static String getMethodKey(String methodOwner, String methodName, String methodDescriptor) { ...
/** * Copyright (C) 2015-2016 Orange * 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 writi...
package me.apjung.backend; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.ActiveProfiles; @SpringBootTest @ActiveProfiles("test") public class IntegrationTest { }
package lib.trees; public class BinaryTree<T> extends Tree<T> { public BinaryTree(T rootValue) { super(); } protected BinaryTree(BinaryTreeNode<T> rootNode) { super(); initRoot(rootNode); } }
/* * Copyright (c) 2015, 2016 Torsten Krause, Markenwerk GmbH * * 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...
/** * @file ThreadUnsafeFunction.java * @brief ThreadUnsafeFunction class source file * @author adarsh.t * * Copyright 2015 by Samsung Electronics, Inc. * All rights reserved. * * Project Description : * This software is the confidential and proprietary information * of Samsung Electronics, Inc. ("Conf...
/* * 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 sg.iss.team10.caps.model; import java.io.Serializable; import java.util.ArrayList; import javax.persistence.*; /** * The persistent class for the enrollment database table. * */ @Entity @NamedQuery(name="Enrollment.findAll", query="SELECT e FROM Enrollment e") public class Enrollment implements Serializ...
/* * Copyright 2012-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 io.jenkins.plugins.forensics.reference; import java.util.Optional; import org.apache.commons.lang3.StringUtils; import org.junit.Test; import edu.hm.hafner.util.FilteredLog; import hudson.model.FreeStyleProject; import hudson.model.Run; import io.jenkins.plugins.util.IntegrationTestWithJenkinsPerSuite; im...
/* BEGIN_HEADER TreeView 3 * * Please refer to our LICENSE file if you wish to make changes to this software * * END_HEADER */ package gui.trees; import model.data.labels.LabelInfo; import model.data.trees.TreeDrawerNode; import util.LogBuffer; import java.awt....
/* ### * 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 eu.dl.worker.raw.downloader; import java.io.IOException; import java.net.SocketException; import java.util.List; import org.apache.commons.net.ftp.FTPClient; import eu.dl.dataaccess.dto.raw.Raw; import eu.dl.worker.Message; import eu.dl.worker.utils.ftp.FTPFactory; /** * Provides encapsulated functionality...
// Targeted by JavaCPP version 1.5.6-SNAPSHOT: DO NOT EDIT THIS FILE package org.bytedeco.onnx; import java.nio.*; import org.bytedeco.javacpp.*; import org.bytedeco.javacpp.annotation.*; import static org.bytedeco.javacpp.presets.javacpp.*; import static org.bytedeco.onnx.global.onnx.*; @Namespace("onnx") @Opaque...
package com.devrupt.services.service.export; import java.io.IOException; public interface ExportService { byte[] export(String processId) throws IOException; }
package com.whzl.modules.sys.service; import java.util.Map; import com.baomidou.mybatisplus.service.IService; import com.whzl.common.utils.PageUtils; import com.whzl.modules.sys.entity.SysLogEntity; /** * 系统日志 * * @author xuchao * @email 1009470059@qq.com * @date 2019-01-26 10:33 */ public interface SysLogSe...
package com.gmail.stefvanschiedev.buildinggame.managers.softdependencies; import com.gmail.stefvanschiedev.buildinggame.Main; import net.milkbowl.vault.economy.Economy; import org.bukkit.plugin.RegisteredServiceProvider; import org.jetbrains.annotations.Contract; import org.jetbrains.annotations.NotNull; import org.je...
// Copyright 2000-2021 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.jetbrains.python.psi; import org.jetbrains.annotations.NotNull; public interface PyGlobalStatement extends PyStatement, PyNamedElementContainer { PyTargetExpressi...
/** * 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 test.groupbug; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import org.testng.log4testng.Logger; public class ITCaseOne { private static final Logger log = Logger.getLogger(ITCaseOne.class); @BeforeClass public void beforeClass...
// 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) 2014 Spotify AB. * * 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...
/* * Copyright ConsenSys AG. * * 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...
/* * 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...
package com.koval.resolver.processor.issues.granular.core; import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.nio.charset.StandardCharsets; import java.util.Collection; import java.util.List; import org.apache.commons.io.FileUtils; import org.slf4j.Logger; import org.slf4j.Logger...
package com.duangframework.utils; /** * Created by laotang on 2017/2/23. */ import java.security.MessageDigest; public class MD5 { private static final String[] hexDigits = new String[]{"0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"}; public MD5() { } public static...
package org.apache.lucene.codecs.blocktree; /* * 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 Lice...
package com.example.finalprojectpromo; import android.os.Bundle; import android.view.animation.Animation; import android.widget.GridLayout; import androidx.appcompat.app.AppCompatActivity; import androidx.navigation.NavController; import androidx.navigation.Navigation; import androidx.navigation.ui.NavigationUI; impo...
package com.gypsyengineer.tlsbunny.poc.wolfssl; import com.gypsyengineer.tlsbunny.fuzzer.FuzzedVector; import com.gypsyengineer.tlsbunny.tls.Struct; import com.gypsyengineer.tlsbunny.tls.Vector; import com.gypsyengineer.tlsbunny.tls13.client.HttpsClient; import com.gypsyengineer.tlsbunny.tls13.fuzzer.FuzzyStructFactor...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: dstore/engine/procedures/mi_InsertTempdb_ThreeIDs.proto package io.dstore.engine.procedures; public final class MiInsertTempdbThreeIDs { private MiInsertTempdbThreeIDs() {} public static void registerAllExtensions( com.google.protobuf.Ex...
package com.automatedtest.sample.infrastructure.driver; import io.cucumber.java.Before; //import io.github.bonigarcia.wdm.WebDriverManager; //import io.github.bonigarcia.wdm.managers.ChromeDriverManager; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.c...
/******************************************************************************* * 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 2017 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
/* * Copyright (c) 2015 IBM Corporation and others. * * Licensed under the Apache License, Version 2.0 (the "License"); * You may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
/* NoWhitespaceAfter allowLineBreaks = (default)true tokens = ARRAY_DECLARATOR,INDEX_OP */ package com.puppycrawl.tools.checkstyle.checks.whitespace.nowhitespaceafter; public class InputNoWhitespaceAfterArrayDeclarations { Object[] someStuff = {}; //Correct Object [] someStuff1 = {}; // violation Object...
/* * 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 [2019] [恒宇少年 - 于起宇] * * 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...
package com.rainbowluigi.soulmagic.enchantment; import net.minecraft.enchantment.Enchantment; import net.minecraft.enchantment.EnchantmentTarget; import net.minecraft.entity.EquipmentSlot; public class DisarmingEnchantment extends Enchantment { protected DisarmingEnchantment(Rarity weight, EnchantmentTarget type, E...
/* Copyright 2016 Jonathan West 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 wri...
package com.garry.heheweather.service; import android.app.AlarmManager; import android.app.PendingIntent; import android.app.Service; import android.content.Intent; import android.content.SharedPreferences; import android.os.IBinder; import android.os.SystemClock; import android.preference.PreferenceManager; import co...
package net.minecraft.world.storage.loot; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonObject; import com.google.gson.JsonSerializationContext; import java.util.Collection; import java.util.Random; import net.minecraft.item.ItemStack; import net.minecraft.world.storage.loot.conditions...
package com.gang.practice.spring.utils; import java.util.*; /** * @ClassName: DateUtil * @Description: 时间处理 * @Author GaoGang * @Date 2016-09-18 15:44 * @Version V1.0 */ public class DateUtil { static Integer[] bigMonth = new Integer[]{1, 3, 5, 7, 8, 10, 12}; /** * 获取一年月份数集合 * * @param y...
package fr.lteconsulting.hexa.client.css.bindings; import com.google.gwt.core.client.GWT; import fr.lteconsulting.hexa.client.css.HexaCss; import fr.lteconsulting.hexa.client.css.annotation.HexaCssExtra; public interface BassCssHexaCss extends HexaCss { public static final BassCssHexaCss CSS = GWT.create( BassCssHe...
package top.top7.reflect; /****** * Created by LEARNING on 2020/11/9 18:48. * ********************************************************************** * .-~~~~~~~~~-._ _.-~~~~~~~~~-. * __.' ~. .~ `.__ * .'// \./ ...
/* * 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.fiuba.algo3.excepciones; public class PaisInvalidoException extends TegException { public PaisInvalidoException() { super("Pais inválido"); } }
/** * Copyright (C) 2017 Microbeans Software Jürgen Röder. * * 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 me.gaigeshen.wechat.mp.message.eventpush; /** * 券点流水详情事件 * * @author gaigeshen */ public class CardPayOrderEventMessage extends AbstractEventMessage { private String orderId; private String status; private Long createOrderTime; private Integer payFinishTime; private String desc; private Integer...
package com.lambdanum.raids.raid.controller.party.loot; import com.lambdanum.raids.model.Raid; public class TeamLootStrategyProvider { private SharedTeamLootStrategy sharedTeamLootStrategy; private IndividualTeamLootStrategy individualTeamLootStrategy; private IdenticalTeamLootStrategy identicalTeamLootS...
package com.shuzijun.leetcode.plugin.actions.toolbar; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.application.ApplicationManager; import com.shuzijun.leetcode.plugin.actions.AbstractAction; import com.shuzijun.leetcode.plugin.model.Config; import com.shuzijun.leetcode.plugin.uti...
package org.silentsoft.core.util; import java.io.File; import java.nio.file.Paths; import java.util.concurrent.TimeUnit; import org.junit.Assert; import org.junit.Test; public class FileUtilTest { // @Test public void cleanTest() { long currentTimeMillis = System.currentTimeMillis(); FileUtil.clean(new File("K...
/* * * Copyright 2018 EMBL - European Bioinformatics Institute * * 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...
/* * Copyright 2010 James Pether Sörling * * 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.crazyy.hive.jdbc; import com.google.common.base.Strings; import com.google.common.collect.ImmutableSet; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.serde.serdeConstants; import org.apache.hadoop.mapreduce.lib.db.DBConfiguration; import java.util.*; public class Configuratio...
package com.java110.community.dao.impl; import com.java110.community.dao.IResourceStoreServiceDao; import com.java110.core.base.dao.BaseServiceDao; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; import java.util.List; import java.util.Map; /** * 物品信息 * * @a...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/** * 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...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package dimm.home.Rendering; /** * * @author mw */ import java.awt.*; /** 4: * Colors is an enumeration class that makes it easier to work with colors. Methods are provided for 5: * conversion to hex strings, and ...
/******************************************************************************* * Copyright (c) 1998, 2016 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
/* * GridGain Community Edition Licensing * Copyright 2019 GridGain Systems, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") modified with Commons Clause * Restriction; you may not use this file except in compliance with the License. You may obtain a * c...
package com.twu.biblioteca; import java.util.ArrayList; public class User extends Loginable { private String name, email, phoneNumber; public User(String ID, String password, String name, String email, String phoneNumber) { super(ID, password); this.name = name; this.email = email; ...
package operator; public enum GrowerTell { fasting, disrupting, acting, diaper; }
package com.infomaximum.rocksdb; import com.infomaximum.database.provider.DBIterator; import com.infomaximum.database.provider.DBTransaction; import com.infomaximum.database.provider.KeyPattern; import com.infomaximum.database.provider.KeyValue; import com.infomaximum.database.utils.TypeConvert; import org.junit.After...
package hu.bme.mit.theta.core.type.bvtype; import hu.bme.mit.theta.core.model.Valuation; import hu.bme.mit.theta.core.type.Expr; import hu.bme.mit.theta.core.type.MultiaryExpr; import hu.bme.mit.theta.core.utils.TypeUtils; import java.util.List; import static com.google.common.base.Preconditions.checkNotNull; import...
/********************************************************************** Copyright (c) 2006 Andy Jefferson and others. 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://...
package com.qinweizhao.ware.service; import com.qinweizhao.ware.model.WmsPurchase; import java.util.List; /** * 采购单Service接口 * * @author qinweizhao * @date 2022-05-04 */ public interface IWmsPurchaseService { /** * 查询采购单 * * @param id 采购单主键 * @return 采购单 */ WmsPurchase selectWms...
package dev.stratospheric.todoapp.cdk; import dev.stratospheric.cdk.Network; import software.amazon.awscdk.core.App; import software.amazon.awscdk.core.Environment; import software.amazon.awscdk.core.Stack; import software.amazon.awscdk.core.StackProps; import static dev.stratospheric.todoapp.cdk.Validations.requireN...
//@formatter:off /* * KeyCollisionCollectionPolicies * Code-Beispiel zum Buch Patterns Kompakt, Verlag Springer Vieweg * Copyright 2014 Karl Eilebrecht * * 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 o...
package com.gulimall.coupon.controller; import java.util.Arrays; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation....
package org.thingsboard.server.service.subscription; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; import org.springframework.context.event.EventListener; import org.springframework.stereotype.Service; import org.thi...
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * The contents of this file are subject to the terms of either the Universal Permissive License * v 1.0 as shown at http://oss.oracle.com/licenses/upl * * or the follo...
//,temp,THBaseService.java,7601,7613,temp,THBaseService.java,6243,6256 //,3 public class xxx { public void onComplete(java.lang.Boolean o) { tableExists_result result = new tableExists_result(); result.success = o; result.setSuccessIsSet(true); try { ...
package com.myproject.thymeleaf.pdf2excel; // //import com.aspose.cells.b.a.b.za; //import com.aspose.cells.b.a.b.zc; //import com.aspose.cells.b.a.b.zh; //import com.aspose.cells.b.a.b.zn; //import com.aspose.cells.b.a.b.zv; // import lombok.Data; import java.io.Serializable; @Data class zasj implements Serializabl...
/* * Copyright (c) 2012 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD-3-Clause license that * can be found in the LICENSE.txt file in the project root. */ package org.antlr.v4.runtime.atn; import org.antlr.v4.runtime.misc.NotNull; /** * * @author Sam Harwell */ public class...
/** * 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) 2019 Pieter Pauwels, Ghent University * Modifications Copyright (C) 2020 Giovanni Velludo * * This file is part of IFC.JAVA. * * 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 Li...
package com.rbittencourt.hexagonal.architecture.sample.infrastructure.order; import javax.persistence.*; import java.math.BigDecimal; @Entity public class OrderEntity { @Id @GeneratedValue(strategy= GenerationType.IDENTITY) private Long id; @Column private String clientName; @Column pri...
package com.just.agentweb.sample.sonic; import android.annotation.TargetApi; import android.webkit.WebResourceRequest; import android.webkit.WebResourceResponse; import android.webkit.WebView; import com.just.agentweb.MiddlewareWebClientBase; import com.tencent.sonic.sdk.SonicSession; /** * Created by cenxiaozhong ...
/* * Copyright 2015 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 applicable l...
import java.util.*; import java.io.*; public class A { public static void main(String ar[]) throws Exception { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String s1[]=br.readLine().split(" "); int n=Integer.parseInt(s1[0]); long x=L...
package com.example.hsfreitas.stormy.adapters; import android.content.Context; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.TextView; ...
/* * * * * 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 * dist...
package cn.iocoder.yudao.module.system.service.sms; import cn.iocoder.yudao.framework.common.exception.ServiceException; import cn.iocoder.yudao.module.system.api.sms.dto.code.SmsCodeCheckReqDTO; import cn.iocoder.yudao.module.system.api.sms.dto.code.SmsCodeSendReqDTO; import cn.iocoder.yudao.module.system.api.sms.dto...
/* * Open Source Software published under the Apache Licence, Version 2.0. */ package io.github.santulator.gui.i18n; import org.junit.jupiter.api.Test; import static io.github.santulator.gui.i18n.I18nKey.ABOUT_TITLE; import static org.junit.jupiter.api.Assertions.assertEquals; public class I18nManagerTest { p...
package home.blog.controller; import home.blog.dto.UserDTO; import home.blog.service.UserService; import org.springframework.http.HttpStatus; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.*; import java.util.ArrayList; import java.util.List; @RestCont...
package org.seasar.doma.it.builder; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Asser...
package com.hedera.services.bdd.spec.utilops.inventory; /*- * ‌ * Hedera Services Test Clients * ​ * Copyright (C) 2018 - 2021 Hedera Hashgraph, 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 o...
// 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 liberalize.java.backend.sdk.data.model; import com.google.gson.annotations.SerializedName; public class ErrorResponse { @SerializedName("code") public String code; @SerializedName("message") public String message; public ErrorResponse(String code, String message) { this.code = code; this.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 ...
/* ======================================================================== * JCommon : a free general purpose class library for the Java(tm) platform * ======================================================================== * * (C) Copyright 2000-2004, by Object Refinery Limited and Contributors. * * Project I...
/* * 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")...
package com.design_parttern.headfirst.chap1_observer.native_observer; abstract class Duck { FlyBehavior flyBehavior; QuackBehavior quackBehavior; Duck() { } /** * 动态设定行为 * * @param fb */ void setFlyBehavior(FlyBehavior fb) { flyBehavior = fb; } void setQua...
package com.hissage.ui.activity; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Locale; import com.hissage.R; import com.hissage.api.NmsStartActivityApi; import com.hissage.api.NmsiSMSApi; import com.hissage.message.ip.NmsIpLocationMessage; import com.hissage.message.ip.NmsIpMessage...
/* * 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 2005-2015 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
/* * Copyright 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 applicable l...
/* * JBoss, Home of Professional Open Source * Copyright 2015, Red Hat, Inc., and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fi...