text
stringlengths
7
995k
package com.websystique.springmvc; import java.net.URI; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.List; import org.apache.commons.codec.binary.Base64; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpMethod; i...
package com.fobgochod.exception; import com.fobgochod.domain.base.ErrorHandler; import com.fobgochod.domain.enumeration.ErrorType; /** * 401 * * @author seven * @date 2020/5/16 */ public class UnauthorizedException extends FghException { public UnauthorizedException() { super(); } public Un...
/* * Copyright 2014 NAVER Corp. * * 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 2012 Cloudera 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 wr...
package com.arjinmc.ndkdemo; import android.content.Context; import android.util.Log; import android.widget.Toast; import java.util.List; /** * Created by Eminem on 2017/2/19. */ public class JNIUtils { private static final String TAG = "print from Java"; /***********************************************...
/** * This code was auto-generated by a tool. * * Changes to this file may cause incorrect behavior and will be lost if * the code is regenerated. */ package com.mozu.test.framework.datafactory; import java.util.List; import java.util.ArrayList; import com.mozu.api.ApiException; import com.mozu.ap...
package com.test.zhaoziliang.googleplay.Utils; import com.lidroid.xutils.BitmapUtils; /** * Created by zhaoziliang on 16/11/28. */ public class BitmapHelper { private static BitmapUtils utils; public static BitmapUtils getBitmapUtils(){ utils = new BitmapUtils(UiUtils.getContext(), FileUtils.getIc...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
package com.app.repo; import org.springframework.data.domain.*; import org.springframework.data.jpa.repository.JpaRepository; import java.util.Optional; import java.util.*; import com.app.model.employee.*; public interface EmployeeRepo extends JpaRepository<Employee, Integer> { public List<Employee> findAll(); ...
/* Copyright 2017 Yahoo Inc. */ /* Licensed under the terms of the 3-Clause BSD license. See LICENSE file in the project root for details. */ package y.sizer.jni; public class StackSizeLibraryLoader { static final String LIBRARY = "stacksize"; static { try { System.err.println("Loading " +...
package org.jeecgframework.web.cgform.entity.config; import java.util.List; import javax.persistence.CascadeType; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.OneToMany; import javax.persistence.Table; ...
package com.yanchuanli.games.pokr; import com.yanchuanli.games.pokr.core.GameEngine; import com.yanchuanli.games.pokr.server.TCPServer; import org.apache.log4j.Logger; /** * Hello world! */ public class App { private static Logger log = Logger.getLogger(App.class); public static void main(String[] args) { ...
package com.planet_ink.coffee_mud.WebMacros; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.planet_i...
/* Copyright 2016 Goldman Sachs. 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, softw...
import java.util.logging.Level; import java.util.logging.Logger; import javafx.application.Application; import javafx.animation.AnimationTimer; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.canvas.*; import javafx.scene.layout.GridPane; import javafx.scene.paint.Color; import javafx.s...
package com.example.jdgjapp.work.bangong.shenpi; import android.content.Context; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android...
/**************************************************** * Copyright (c) 2019, Grindrod Bank Limited * License MIT: https://opensource.org/licenses/MIT ****************************************************/ package za.co.grindrodbank.dokuti.group; public class GroupRequest { private String name; public String getName()...
package com.md.delivery.factory; import org.springframework.context.annotation.DependsOn; import org.springframework.stereotype.Component; import com.md.delivery.dao.AreaMapper; import com.md.delivery.model.Area; import com.stylefeng.guns.core.util.SpringContextHolder; /** * 工厂 * * @author * @date */ @Component...
/* * Copyright (c) 2010 Tom Parker <thpr@users.sourceforge.net> * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later...
package io.github.macaylamarvelous81.nexus1; public enum CustomItem { NONE(-1), CUPCAKE(0), PORTABLE_CRAFTING_TABLE(1); private final int itemid; CustomItem(int id) { itemid = id; } public int getItemId() { return itemid; } public static CustomItem toItem(int id...
/** * 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 simpledb; import java.util.*; import java.io.*; /** * Each instance of HeapPage stores data for one page of HeapFiles and * implements the Page interface that is used by BufferPool. * * @see HeapFile * @see BufferPool * */ public class HeapPage implements Page { final HeapPageId pid; final Tu...
package com.dotcms.contenttype.business; import com.dotcms.contenttype.model.type.BaseContentType; import com.dotcms.contenttype.model.type.ContentType; import com.dotmarketing.exception.DotDataException; import java.util.List; public interface ContentTypeFactory { default ContentTypeFactory instance(){ retur...
package com.apress.prospring5.ch5; import org.aopalliance.intercept.MethodInterceptor; import org.aopalliance.intercept.MethodInvocation; public class SimpleAdvice implements MethodInterceptor { @Override public Object invoke(MethodInvocation invocation) throws Throwable { System.out.println(">> Invoking " +...
/* * 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.jsoniter; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.lang.reflect.Type; import java.math.BigDecimal; import java.math.BigInteger; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import com.jsoniter.any.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...
package mage.cards.t; import java.util.HashSet; import java.util.Set; import java.util.UUID; import mage.abilities.Ability; import mage.abilities.common.ActivateIfConditionActivatedAbility; import mage.abilities.condition.Condition; import mage.abilities.costs.common.TapSourceCost; import mage.abilities.costs.mana.Man...
package org.nzbhydra.config; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat.Shape; import com.google.common.base.Strings; import lombok.Data; import org.javers.core.metamodel.annotation.DiffIgnore; import org.nzbhydra.NzbHydra; import org.nzbhydra.config.download...
/** * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * * The Apereo Foundation licenses this file to you under the Educational * Community License, Version 2.0 (the ...
/** * Copyright (C) 2012 Philip W. Sorst <philip@sorst.net> * and individual contributors as indicated * by the @authors tag. * * 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 edu.mch.shikaku.views; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Canvas; import android.util.AttributeSet; import android.view.View; import androidx.annotation.Nullable; import androidx.appcompat.widget.SwitchCompat; import edu.mch.shikaku.activities.GameAct...
package com.zhongger.zmail.member.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.annot...
package net.ethobat.system0.registry; import com.mojang.brigadier.Command; import com.mojang.brigadier.context.CommandContext; import com.mojang.brigadier.exceptions.CommandSyntaxException; import net.ethobat.system0.api.psionics.PsionicProfile; import net.ethobat.system0.api.psionics.PsionicSchema; import net.ethobat...
/* * Copyright 2018 Bitbox : TrainDelayTracker * * 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 my_demo.prototype; public class PrototypeTest { private PrototypeTest2 prototypeTest2; public String username; public String getUsername() { return this.username; } public void setUsername(String username) { this.username = username; } public PrototypeTest2 getP...
/* * Copyright (c) 2008 - 2013 10gen, Inc. <http://10gen.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
/** * UsageLogTrace. * * @author Maxim Vanny. * @version 5.0 * @since 0.1 */ package db.jdbc.log1;
/* * 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 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.robinhood.ticker; import android.graphics.Canvas; import android.graphics.Rect; import android.view.Gravity; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.verifyNo...
package net.xdclass.demo.listener; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.servlet.annotation.WebListener; @WebListener public class CustomContextListener implements ServletContextListener{ @Override public void contextInitialized(ServletContextEvent sce...
package com.zyt.myblog.commons.domain; import javax.persistence.*; import java.io.Serializable; import java.util.Date; @Table(name = "article_sub_sort") public class ArticleSubSort implements Serializable { private static final long serialVersionUID = 251840450465907082L; /** * 主键,子分类id */ @Id ...
import java.util.*; import java.util.stream.Collectors; @javax.annotation.Generated(value = {"decision.ftl", "ApplicationRiskScore"}) @com.gs.dmn.runtime.annotation.DRGElement( namespace = "", name = "ApplicationRiskScore", label = "", elementKind = com.gs.dmn.runtime.annotation.DRGElementKind.DECISION...
package softuniBabies.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.spri...
/* * Copyright (c) OSGi Alliance (2012, 2017). 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 re...
/* * Copyright 2013 The GDG Frisbee 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 applicable law or a...
/* * Copyright (c) 2008-2016, 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.highcom.admin.pojo; import io.swagger.annotations.ApiModelProperty; import java.util.Date; public class News { @ApiModelProperty(name = "id",value = "主键") private int id; @ApiModelProperty(name = "category",value = "1:国内市场动态 ,2:国际市场动态,3:国际贸易最新政策",required = true,example = "2") private in...
package com.apd.tema2.intersections; import com.apd.tema2.entities.Intersection; import java.util.concurrent.CyclicBarrier; public class SimpleIntersection implements Intersection { public CyclicBarrier barrier; private int noCars; public SimpleIntersection() {} public SimpleIntersection(int noCars) { this.n...
/* * 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 ...
/* */ package org.springframework.core.type.filter; /* */ /* */ import java.io.IOException; /* */ import org.springframework.core.type.ClassMetadata; /* */ import org.springframework.core.type.classreading.MetadataReader; /* */ import org.springframework.core.type.classreading.MetadataReaderFactory; ...
package com.github.diabetesassistant; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class AppTest { @Test void shouldLoad() { assertTrue(true); } }
package org.bravetogether.mapstories.server.controller; import com.fasterxml.jackson.databind.ObjectMapper; import org.bravetogether.mapstories.server.TestUtils; import org.bravetogether.mapstories.server.model.bean.user.UserDBImpl; import org.bravetogether.mapstories.server.model.bean.user.UserImpl; import org.bravet...
package com.scada.dao; import java.util.List; import com.scada.domain.Telecommand; public interface TelecommandDao { public void saveTelecommandDao(Telecommand elecommand); public void delete(Integer id); public List<Telecommand> getAll(); public List<Telecommand> getTelecommandByName(String name);...
package com.oadigital.physics.demo; import android.app.Activity; import android.os.Bundle; import android.view.Window; public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Win...
/* * $Id$ * * Copyright (c) 2016, Simsilica, LLC * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2019 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.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 requ...
/* * 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.badomega.hims.dtos; public interface PasswordCheckDTO { String getPassword(); String getPassword_confirm(); }
/* * Copyright 2000-2016 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...
/* * Copyright 2020 Google 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * MIT License * * Copyright (c) 2021 MASES s.r.l. * * 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, cop...
package com.sightseekerstudio.wildflyswarmmpdemo.jaxrs.ext; import java.io.Serializable; import java.util.HashSet; import java.util.Set; import java.util.stream.Collectors; import javax.validation.ConstraintViolation; import javax.validation.ConstraintViolationException; import javax.ws.rs.core.Response; import javax...
/************************************************************************* * * * CESeCore: CE Security Core * * * * This software is...
package com.alipay.api.domain; import java.util.List; import com.alipay.api.AlipayObject; import com.alipay.api.internal.mapping.ApiField; import com.alipay.api.internal.mapping.ApiListField; /** * 区块链金融业务的采购内容信息 * * @author auto create * @since 1.0, 2020-02-18 09:19:19 */ public class FinancePurchaseInfo exten...
/* * Copyright (C) 2004-2015 Volker Bergmann (volker.bergmann@bergmann-it.de). * 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/L...
package mailchimp.communicators; import mailchimp.attributes.ListMailChimp; import feign.Param; import feign.RequestLine; //TODO: EDIT and Count Lists public interface ListCommunicator { @RequestLine("GET /lists") ListMailChimp readAll(); @RequestLine("GET /lists/{list_id}") ListMailChimp readOne(@Param("list...
/* * Copyright 2012-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright © 2021-present Arcade Data Ltd (info@arcadedata.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
package org.openapitools.api; import org.openapitools.model.*; import org.openapitools.api.AppsApiService; import io.swagger.annotations.ApiParam; import io.swagger.jaxrs.*; import java.util.Map; import java.util.List; import org.openapitools.api.NotFoundException; import java.io.InputStream; import javax.ws.rs.c...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.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 requ...
/* * 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 ...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.netapp.v2019_08_01; import com.fasterxml.jackson...
package ee.ria.tara.sso.controller.dto; import lombok.Builder; import lombok.Data; @Data @Builder public class TokenInfo { private String idToken; }
package co.edu.ufps.web.ControllerRest; import co.edu.ufps.web.service.ServiceConverter; import java.io.File; import java.io.IOException; import java.net.MalformedURLException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Map; import org.slf4j.Logger; import org...
/* * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package com.xuul.soulsmith.util; import com.xuul.soulsmith.registry.ModItems; import net.minecraft.item.ToolMaterial; import net.minecraft.recipe.Ingredient; public class BronzeToolMaterial implements ToolMaterial { /*Bronze tools are intended to be similar to iron but much more enchantable*/ public static ...
/** * Copyright 2011-2017 B2i Healthcare Pte Ltd, http://b2i.sg * * 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 ...
package io.choerodon.asgard.infra.enums; /** * @author dengyouquan **/ public class DefaultAutowiredField { /** * 组织层定时任务默认自动注入参数 */ public static final String ORGANIZATION_ID = "organizationId"; public static final String ORGANIZATION_NAME = "organizationName"; public static final String O...
/** * Copyright (c) 2019. Qubole 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 writing...
package nc.container.processor; import nc.container.SlotProcessorInput; import nc.container.SlotSpecificInput; import nc.recipe.NCRecipes; import nc.tile.processor.TileItemFluidProcessor; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.Slot; import net.minecraft.inventory.SlotFurnaceOut...
/* * (c) Copyright 2019 EntIT Software LLC, a Micro Focus company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICE...
package com.tuya.smart.rnsdk.camera.utils; import android.content.Context; import android.os.StatFs; import androidx.annotation.Nullable; import com.facebook.cache.disk.DiskCacheConfig; import com.facebook.drawee.backends.pipeline.Fresco; import com.facebook.imagepipeline.core.ExecutorSupplier; import com.facebook.i...
package br.com.capsistema.shoppinglist.data.relationentities; import androidx.room.Embedded; import androidx.room.Junction; import androidx.room.Relation; import br.com.capsistema.shoppinglist.data.entities.Item; import br.com.capsistema.shoppinglist.data.entities.ShoppingList; import br.com.capsistema.shoppinglist.d...
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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 obtain a copy of the License at * * http://www.apache.org/license...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package org.opencv; public final class R { public static final class attr { public static final int camera_id = 0x7f010001; public st...
package dswork.core.datasource; import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource; /** * 重载AbstractRoutingDataSource数据源,用于判断选择主从数据源 * @author skey */ public class DataSource extends AbstractRoutingDataSource { /** * 主库数据源 */ private javax.sql.DataSource masterDataSource; /** * 从库...
package io.oasp.gastronomy.restaurant.staffmanagement.dataaccess.api; import io.oasp.gastronomy.restaurant.general.common.api.datatype.Role; import io.oasp.gastronomy.restaurant.general.dataaccess.api.ApplicationPersistenceEntity; import io.oasp.gastronomy.restaurant.staffmanagement.common.api.StaffMember; import jav...
/* * Copyright 2019 EPAM Systems * * 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 ...
package aQute.quantity.base.util; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) public @interface UnitInfo { String unit(); String symbol()...
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 4.0.2 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ------------------------------...
/* * Copyright (C) 2010 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 agree...
package controllers; import java.util.List; import com.fasterxml.jackson.databind.JsonNode; import models.UsuarioModel; import play.*; import play.data.Form; import play.mvc.*; public class TareasController extends Controller { public Result index() { return ok("hola"); } public Result getUser(...
package scala.build.internal; import coursier.jvm.ErrnoException; public final class Chdir { public static boolean available() { return false; } public static void chdir(String path) throws ErrnoException { // Not supported on the JVM, returning immediately } }
package com.xxj.mvvm.demo.android_mvvm_demo; 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 ...
/* * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package top.janker.pattern.abstractfactory; /** * @author janker * @date 2022/3/30 * <p> * Blog: https://www.share-java.com * Github: https://github.com/janker0718 */ public class Red implements Color { @Override public void fill() { System.out.println("Inside Red::fill() method."); } }
package de.adorsys.psd2.model; import io.swagger.annotations.ApiModel; import org.springframework.validation.annotation.Validated; import java.util.Objects; /** * Resource identification of the related SCA. */ @ApiModel(description = "Resource identification of the related SCA.") @Validated @javax.annotation.Gener...