This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Text.RegularExpressions; | |
using OpenQA.Selenium; | |
using OpenQA.Selenium.Support.UI; | |
namespace WebDriverTest { | |
public class BingSearch { | |
public static BingSearch Create(IWebDriver driver) { | |
var instance = new BingSearch(driver); | |
driver.Url = "http://www.bing.com"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs = jenkins.model.Jenkins.instance.items | |
oldJDK = jenkins.model.Jenkins.instance.getJDK("JavaSE 8u40") | |
newJDK = jenkins.model.Jenkins.instance.getJDK("JavaSE 8u45") | |
jobs.each { | |
if (it.JDK == oldJDK) { | |
it.JDK = newJDK | |
it.save() | |
println "updated ${it.name}" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.wordnik.swagger.jaxrs; | |
import java.lang.annotation.Annotation; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Type; | |
import java.util.ArrayList; | |
import java.util.Iterator; | |
import java.util.List; | |
import java.util.Set; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package sample; | |
import java.io.Serializable; | |
import java.util.Arrays; | |
import java.util.List; | |
import javax.faces.view.ViewScoped; | |
import javax.inject.Named; | |
@SuppressWarnings("serial") |
NewerOlder