text
stringlengths
7
1.01M
/* * 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 net.twisterrob.glide.gallery.wrappers; import com.bumptech.glide.Priority; import com.bumptech.glide.load.data.DataFetcher; class FetcherWrapper<T> implements DataFetcher<T> { private final DataFetcher<T> wrapped; private final ModelLoaderFactoryWrapper.ExceptionHandler handler; public FetcherWra...
package br.com.reciclometro.acao; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import br.com.reciclometro.dao.UsuarioDAO; import br.com.reciclometro.model.Usuario; public class Login impleme...
/** * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.artyama.jeesite.modules.act.service.ext; import org.activiti.engine.impl.interceptor.Session; import org.activiti.engine.impl.interceptor.SessionFactory; import org.activiti.engine.impl.pers...
/* * Licensed to Crate under one or more contributor license agreements. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. Crate licenses this file * to you under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compl...
// // Este arquivo foi gerado pela Arquitetura JavaTM para Implementação de Referência (JAXB) de Bind XML, v2.2.8-b130911.1802 // Consulte <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Todas as modificações neste arquivo serão perdidas após a recompilação do esquema de origem. // Gerado ...
package com.lq.pdfdemo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class PdfDemoApplication { public static void main(String[] args) { SpringApplication.run(PdfDemoApplication.class, args); } }...
/* The contents of this file are subject to the license and copyright terms * detailed in the license directory at the root of the source tree (also * available online at http://fedora-commons.org/license/). */ package org.fcrepo.client.objecteditor; import java.awt.event.ActionListener; import java.io.IOExceptio...
package org.edx.mobile.view.adapters; import android.content.Context; import android.graphics.Typeface; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseAdapter; import android.widget.ImageView; import android.widget.L...
/* * ==================================================================== * 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 ...
/* Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/** * Copyright 2016 SPeCS. * * 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...
/* * Copyright (c) 2012-2017 The original author or authors * ------------------------------------------------------ * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distributi...
package com.griddynamics.jagger.jaas.exceptions; public class InvalidTestExecutionException extends RuntimeException { public InvalidTestExecutionException(String message) { super(message); } public InvalidTestExecutionException(String message, Throwable cause) { super(message, cause); ...
/* * 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...
package com.wq.newcommunitygovern.app.custom; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.widget.RelativeLayout; import androidx.recyclerview.widget.LinearLayoutManager; import and...
// -------------------------------------------------------------------------------- // 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:/...
/* * 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) 1997, 2019 Oracle and/or its affiliates. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Distribution License v. 1.0, which is available at * http://www.eclipse.org/org/documents/edl-v10.php. * * SPDX-License-Identifier: ...
package com.example.observe; import arez.Arez; import arez.ArezContext; import arez.Component; import arez.Disposable; import arez.Observer; import arez.SafeProcedure; import arez.component.DisposeNotifier; import arez.component.Identifiable; import arez.component.internal.ComponentKernel; import javax.annotation.Gene...
/******************************************************************************* * Copyright (c) Intel Corporation * Copyright (c) 2017 * * 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 ...
/* * 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"); ...
/* * Copyright 2009 Mustard Grain, Inc., 2009-2012 LinkedIn, 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 require...
package org.jgroups.protocols; import org.jgroups.Address; import org.jgroups.Message; import org.jgroups.View; import org.jgroups.annotations.GuardedBy; import org.jgroups.logging.Log; import org.jgroups.util.ByteArrayDataOutputStream; import org.jgroups.util.Util; import java.net.SocketException; import java.util.*...
/******************************************************************************* * Copyright (c) 2018 Tecnalia Research and Innovation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and i...
import java.util.*; class BubbleSort { public static void bubbleSort(int[] arr) { int n = arr.length; int temp; boolean isSorted = true; for (int i = 0; i < n; i++) { // loops over all the elements of the array until the whole array is sorted isSorted = true; // works...
/* * Jicofo, the Jitsi Conference Focus. * * Copyright @ 2015-Present 8x8, 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 * ...
package feliperrm.reversiandroid; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public ApplicationTest() { ...
package com.siyeh.igtest.threading; public class SynchronizeOnNonFinalFieldInspection { private Object m_lock = new Object(); public void fooBar() { synchronized(m_lock) { System.out.println(""); } } }
/* 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 android.support.v7.appcompat; public final class R { public static final class anim { public static final int abc_fade_in = 0x7...
package com.sun.corba.se.PortableActivationIDL; /** * com/sun/corba/se/PortableActivationIDL/Locator.java . * Generated by the IDL-to-Java compiler (portable), version "3.2" * from c:/re/workspace/8-2-build-windows-amd64-cygwin/jdk8u91/7017/corba/src/share/classes/com/sun/corba/se/PortableActivationIDL/activati...
package com.dragontalker.bean; import java.sql.Date; /** * ORM编程思想(Object Relational Mapping) * 一个数据表对应一个Java类 * 表中的一条记录对应Java类的一个对象 * 表中的一个字段对应Java类的一个属性 */ public class Customer { private int id; private String name; private String email; private Date birth; public Customer() {} publ...
/** * 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-2020 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 ru.stqa.b28.mantis.appmanager; import org.apache.commons.net.ftp.FTPClient; import java.io.*; public class FtpHelper { private final ApplicationManager app; private FTPClient ftp; public FtpHelper(ApplicationManager app) { this.app = app; ftp = new FTPClient(); } publi...
package top.top7.date; import java.text.ParseException; import java.text.SimpleDateFormat; import java.time.Clock; import java.time.Duration; import java.time.Instant; import java.time.LocalDate; import java.util.Calendar; import java.util.Date; /****** * Created by LEARNING on 2021/2/22 18:16. * ***********...
/* * Copyright 2018 JDCLOUD.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 applicable law or agreed to in...
/* * The MIT License (MIT) * * Copyright (c) 2016. Diorite (by Bartłomiej Mazur (aka GotoFinal)) * * 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 withou...
package net.n2oapp.framework.api.metadata.io; /** * Чтение / запись моделей определенного типа и элемента */ public interface TypedElementIO<T> extends ClassedElementIO<T>, NamedElementIO<T> { }
import java.awt.*; public class BarChart extends Graph { public BarChart(Column column) { super(column); drawGraph("Bar Chart", "bars"); } @Override protected void paintComponent(Graphics g) { int max = 0; for (Integer value : data.values()) { max = Math.max...
package com.wupaas.boot.paas.im.thirdservice.dingtalk.clients; import com.wupaas.boot.paas.im.thirdservice.dingtalk.config.DingTalkConfiguration; import com.wupaas.boot.paas.im.thirdservice.dingtalk.model.DingTalkUserModel; import com.wupaas.boot.paas.im.thirdservice.dingtalk.model.result.DingTalkBaseResultModel; impo...
package com.hackaton.covid19.pandebuddies.adapters.presentation.presenters; import com.hackaton.covid19.pandebuddies.adapters.presentation.viewmodels.PandeBuddiesJson; import com.hackaton.covid19.pandebuddies.application.PandeBuddiesDocument; import com.hackaton.covid19.pandebuddies.application.outbound_ports.PandeBud...
/* * * 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...
package com.jessi.arouter_api_java; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Parcelable; import android.text.TextUtils; import android.util.Log; import android.util.LruCache; import com.jessi.arouter_annotation_java.bean.RouterBean; /** * @author Cre...
/* * This file is part of RoryPerms, licensed under the MIT License. * * Copyright (c) lucko (Luck) <luck@lucko.me> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
/** * Copyright 2009-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
/** * Copyright Notice * * This is a work of the U.S. Government and is not subject to copyright * protection in the United States. Foreign copyrights may apply. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obta...
/* * Copyright 2017 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by 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 Y...
package com.github.pesennik.util; import com.github.openjson.JSONArray; import com.github.openjson.JSONObject; import java.io.BufferedReader; import java.io.DataOutputStream; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.util.Collectio...
/* * 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 net.mureng.api.core.jwt.service; import lombok.RequiredArgsConstructor; import net.mureng.api.core.jwt.component.JwtResolver; import net.mureng.api.core.jwt.component.JwtValidator; import net.mureng.api.core.oauth2.service.OAuth2Service; import net.mureng.api.core.jwt.component.JwtCreator; import net.mureng.ap...
package com.hardskygames.krakensocks; import org.junit.Test; import static org.junit.Assert.*; /** * To work on unit tests, switch the Test Artifact in the Build Variants view. */ public class ExampleUnitTest { @Test public void addition_isCorrect() throws Exception { assertEquals(4, 2 + 2); } ...
/* WebMBeanServerAdapter.java * * Copyright 2009-2015 Comcast Interactive Media, 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://www.apache.org/licenses/LICENSE-2....
package gulimall.coupon.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * 优惠券分类关联 * * @author SunQiXin * @email 15153869872@163.com * @date 2020-07-13 09:59:22 */ @Data...
package com.gvaneyck.ggengine.game.actions; import com.gvaneyck.ggengine.game.GameInstance; import groovy.lang.Closure; import java.util.Map; public class ClosureActionRef extends ActionRef { private Closure closure; public ClosureActionRef(String name, Closure closure) { super(name); this....
package nl.bsoft.mybatch.config; import lombok.extern.slf4j.Slf4j; import org.springframework.batch.core.BatchStatus; import org.springframework.batch.core.JobExecution; import org.springframework.batch.core.JobExecutionListener; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTim...
/* * Copyright (C) 2019 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.0 * * Unless required by a...
package org.chat21.android.notifications; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.media.RingtoneManager; import android.net.Uri; import android.support.v4.app.Notifica...
package campuslifecenter.info.entry; import java.util.ArrayList; import java.util.List; public class InfoTextExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public InfoTextExample() { oredCriteria = new ArrayList<Criteria>(); ...
package com.lhever.demo.netty.hb.register; public class User { private Integer age; private String name; public User(Integer age, String name) { this.age = age; this.name = name; } public User() { } public Integer getAge() { return age; } public void se...
/* * Copyright 2017 LinkedIn 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 i...
/* * Copyright (C) 2018 Satomichi Nishihara * * 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 info.bitrich.xchangestream.hitbtc; import info.bitrich.xchangestream.core.ProductSubscription; import info.bitrich.xchangestream.core.StreamingExchange; import info.bitrich.xchangestream.core.StreamingMarketDataService; import info.bitrich.xchangestream.service.netty.ConnectionStateModel.State; import io.react...
package com.giraone.samples.common.entity; import java.util.Calendar; import java.util.Date; import java.util.Iterator; import java.util.Map; /** * An abstract generic class to be used as the base class for JPA entity classes that * want to store some of their attributes not as columns in SQL, but in key value tabl...
package ru.job4j.collections.tracker.start; import ru.job4j.collections.tracker.Tracker; import java.util.List; /** * Main class. * @author Yury Chuksin (chuksin.yury@gmail.com) * @since 20.03.2017. */ public class StartUIin { /** * creating new class Input. */ private final Input input; /...
/**************************************************************** * Licensed to the Apache Software Foundation (ASF) under one * * or more contributor license agreements. See the NOTICE file * * distributed with this work for additional information * * regarding copyright ownership. The ASF licenses this...
/* * Copyright (c) 2008-2016, GigaSpaces Technologies, 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 * * Un...
/** * StartDateTimeType.java * * This file was auto-generated from WSDL * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. */ package com.google.api.ads.dfp.v201308; public class StartDateTimeType implements java.io.Serializable { private java.lang.String _value_; private static java...
/* * #%L * de.metas.cucumber * %% * Copyright (C) 2020 metas GmbH * %% * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as * published by the Free Software Foundation, either version 2 of the * License, or (at your option) any later v...
package io.agrest.runtime.processor.unrelate; import io.agrest.id.AgObjectId; import io.agrest.processor.BaseProcessingContext; import org.apache.cayenne.di.Injector; public class UnrelateContext<T> extends BaseProcessingContext<T> { private AgObjectId sourceId; private String relationship; private AgObj...
package com.imooc.test.aware; import static org.junit.Assert.*; import org.junit.Test; import com.imooc.aware.BeanAware; import com.imooc.test.base.UnitTestBase; public class TestBeanAware extends UnitTestBase { public TestBeanAware() { super("spring-bean-aware.xml"); } @Test public void tes...
package com.yahoo.ycsb.workloads.dbinstance.Mysql; import com.yahoo.ycsb.workloads.testcase.TwitterWFR; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.List; public class MysqlTwitterWFR extends TwitterWFR { int typid = 50; int loopStartIndex = 2; public List<String> reque...
/* * Copyright 2020 IEXEC BLOCKCHAIN TECH * * 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 2022 Vavr, https://vavr.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use...
/** * 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 mage.cards.u; import java.util.EnumSet; import java.util.UUID; import mage.MageInt; import mage.abilities.common.BecomesBlockedAllTriggeredAbility; import mage.abilities.effects.Effect; import mage.abilities.effects.common.continuous.BoostTargetEffect; import mage.abilities.keyword.ChampionAbility; import mag...
/** * Copyright The Apache Software Foundation * * 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 Apac...
package org.sanity.consoleForum.models.enums; public enum PostRatingChoice { POSITIVE, NEGATIVE }
package com.profullstack.springseed.core.utils; import org.springframework.core.env.AbstractEnvironment; import org.springframework.core.env.MapPropertySource; import java.util.*; /** * Created by christianxiao on 7/29/17. */ public class EnvironmentUtil { public static Set<String> getAllPropertyNames(AbstractEn...
/* * MIT License * * Copyright (c) 2021 Jannis Weis * * 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 net.minecraft.world.gen; import java.util.Random; public class NoiseGeneratorSimplex { private static int[][] field_151611_e = new int[][] {{1, 1, 0}, { -1, 1, 0}, {1, -1, 0}, { -1, -1, 0}, {1, 0, 1}, { -1, 0, 1}, {1, 0, -1}, { -1, 0, -1}, {0, 1, 1}, {0, -1, 1}, {0, 1, -1}, {0, -1, -1}}; public static...
/** * Original Author: William J. Francis * http://www.techrepublic.com/blog/software-engineer/a-reusable-about-dialog-for-your-android-apps/ */ package com.introlab.rtabmap; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import a...
package com.cell.user.ifacade.request.permission; import com.cell.user.condition.ListSysPermissionCondition; import com.cell.user.ifacade.request.BaseRequest; import com.cell.user.page.Page; public class ListSysPermissionReq extends BaseRequest { private static final long serialVersionUID = 6616310443724540...
package com.Spanospy.asterisk.items; import net.minecraft.item.Food; public class ModFoods { public static final Food CORN; public static final Food POPPEDCORN; public static final Food CORNONTHECOB; public static final Food GARLICBREAD; public static final Food ICECREAMSANDWICH; private ...
package io.github.riesenpilz.nmsUtilities.advancemts; import javax.annotation.Nullable; import org.apache.commons.lang.Validate; import org.bukkit.NamespacedKey; import com.google.gson.JsonObject; import io.github.riesenpilz.nmsUtilities.packet.PacketUtils; import io.github.riesenpilz.nmsUtilities.packet.playOut.Pa...
/* * ==================================================================== * 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 ...
/*- * #%L * Bobcat * %% * Copyright (C) 2016 Cognifide 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 requi...
import java.io.FileInputStream; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.ftpserver.usermanager.Md5PasswordEncryptor; import org.apache.ftpserver.usermanager.PasswordEncryptor; import edu.cmu.sv.kelinci.Kelinci; import edu.cmu.sv.kelinci.Mem; public class Driver...
// Copyright (c) YugaByte, Inc. package com.yugabyte.yw.models; import com.fasterxml.jackson.annotation.JsonFormat; import com.google.common.annotations.VisibleForTesting; import com.google.common.base.Preconditions; import com.yugabyte.yw.common.YWServiceException; import io.ebean.Finder; import io.ebean.Model; impo...
package liquibase.database.core; import liquibase.database.DatabaseConnection; import liquibase.exception.DatabaseException; public class DB2iDatabase extends DB2Database { @Override public int getPriority() { return super.getPriority()+5; } @Override public boolean isCorrectDatabaseImpl...
/* * 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.github.jkschoen.jsma.model; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; @XmlAccessorType(XmlAccessType.FIELD) public abstract class AlbumBase { @XmlElement(name="id") private Long id; @XmlElement(nam...
package com.omegar.mvp.inheritance_test.resources; import com.omegar.mvp.MvpDelegate; /** * Date: 30.12.2016 * Time: 00:09 * * @author Yuri Shmakov */ public class ViewWithoutInject { public MvpDelegate<? extends ViewWithoutInject> delegate; }
/* * 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. See License in the project root for license information. // ------------------------------------------------------------------------------ pa...
package springboot.graphql.example.graphql; import com.coxautodev.graphql.tools.GraphQLQueryResolver; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import springboot.graphql.example.data.LinkRepository; import springboot.graphql.example.data.model.Link;...
package com.abdelhakim.gestionetudiants.web; import com.abdelhakim.gestionetudiants.entities.Student; import com.abdelhakim.gestionetudiants.security.entities.AppUser; import com.abdelhakim.gestionetudiants.security.services.SecurityServiceImp; import lombok.AllArgsConstructor; import org.springframework.stereotype.Co...
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
package za.ac.unisa.lms.tools.cronjobs.jobs; import java.io.ByteArrayOutputStream; import java.io.PrintWriter; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.List; import javax.mail.internet.AddressException; import javax.mail.internet.InternetAddress; import ...