text:
<!DOCTYPE html>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="description" content="Webpagina voor Vakantiehuisje">
    <meta name="author" content="Roel Gelink">
    <title>Eifel Vakantie Villa</title>

    <link type="text/css" rel="stylesheet" href="css/materialize.min.css" />
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
    <link type="text/css" rel="stylesheet" href="PgwSlider-master/pgwslider.min.css" />
    <link type="text/css" rel="stylesheet" href="PgwSlider-master/pgwslideshow.min.css" />

    <link href="css/css.css" rel="stylesheet">

                  Eifel Vakantievilla Tara
                menu

                        Over Villa Tara

                        Omgeving

                        Fietsen

                        Zwemmen

                        Wintersport

                         Contact

                        Reserveren

                        Over Villa Tara

                        Omgeving

                        Fietsen

                        Zwemmen

                        Wintersport

                         Contact

                        Reserveren

Villa Tara

Centraal gelegen in de heuvels van de Eifel, ligt ons gezellige, comfortabele, recent gemoderniseerde vrijstaande vakantiehuis (90 m2) geschikt voor maximaal 5 personen, met tuin en 3 terrassen op circa 600 m2. Ideaal voor een ontspannen verblijf in de natuur of voor een uitstapje naar één van de omliggende stadjes.

Het vakantiehuis is ruimtelijk ingericht en heeft 2 slaapkamers. Op de begane grond bevindt zich de hal, badkamer met toilet, slaapkamer met tweepersoonsbed (180 x 200 cm), woonkamer met open haard, keuken en eetkamer. Via de trap bereikt u de vide waar zich een kampeerbed bevindt (éénpersoons). Aangrenzend ligt de ruime tweede slaapkamer (met twee eenpersoonsbedden van 90 x 200 cm). Via de schuifpui in de woonkamer komt u op het overdekte terras met buitenhaard.

Omgeving

                            Vulkangarten Steffeln (5km)

Vulkanen,
kraters en vulkaanmaren. U kunt hier veel over de geschiedenis van deze
rustende reuzen leren. De Vulkangarten gunt ons een blik in het verleden.

Elke
woensdag vindt er om 14.00 uur een rondleiding plaats. U kunt kaarten voor de
rondleiding bij de receptie van het gemeentehuis in Steffeln kopen. Hier is ook
het startpunt van de wandeling.

                            website

                            Eisenmuseum Jünkerath (5km)

Het smelten van ijzer in de vulkanische Eifel gaat terug tot de prehistorie. De Jünkerather ijzerfabriek werd in 1687 opgericht. Er worden geselecteerde exposties tentoongesteld van gietijzerkunst en de technische en artistieke ontwikkeling.

                            website

                            Kasselburg (13km)

In de
Eifel staan verschillende mooie burchten, die plots opdoemen als u door het
groene landschap rijdt. Een echte aanrader is de Kasselburg (13 km), een 12e-eeuws
slot nabij Pelm en Gerolstein, waar ook spectaculaire shows met valken,
steenarenden, gieren, uilen en wouwen plaatsvinden.

                            Website

                            Blankenheim (19km)

Hier kunt u door oude steegjes en poorten slenteren, vakwerkhuizen bekijken en wanneer u nog meer wilt weten kunt u het streekmuseum in Blankenheim bezoeken.

                            website

                            Ardener Cultur Boulevard Losheim (21km)

Vlakbij de Duits/Belgische grens duikt u in de zinnelijke wereld van het artistieke, culturele en culinaire genot. In het Ardener Cultur Boulevard bevinden zich ArsKrippana, ArsTechnica, ArsFigura, ArsMinerals en nog veel meer...

Prümer Strasse 55, Losheim

                            website

                            Wild- und Erlebnispark Daun (25km)

U rijdt met de auto door dit prachtige 220 hectare grote wildpark. Niet alleen door het grote aantal wilde dieren is dit park beroemd. Ook door het fantastische natuurgebied met loof- en naaldbossen, bergen, dalen en riviertjes is het een lust voor het oog voor dier- en natuurliefhebbers. Bij de kinderboerderij, de zomerbobbaan en de avontuurlijke speeltuin is er nog veel meer te beleven.

Wildparkstrasse 1, Daun

                            website

                            Mechernich (41km)

Een ander mooi kasteel is Burg Satzvey. Het is een 14e-eeuwse burcht in Mechernich, die nog in uitstekende staat verkeert. Er worden geregeld interessante festiviteiten georganiseerd, waarbij u een goed beeld krijgt van het dagelijkse leven in de Middeleeuwen.

                            website

                            Bad Münstereifel (44km)

De stad Bad Münstereifel is nog in originele staat en stamt uit de Middeleeuwen. De burcht, de gerestaureerde vakwerkhuizen, stille hoekjes en romantische bruggetjes zorgen voor een bijzondere belevenis. Bad Münstereifel is een officieel luchtkuuroord. U kunt de Romeinse glasblazers aan het werk zien.

                            website

                            Monschau (50km)

Aan de voet van het Hoge Ven ligt in het smalle, door leistenen gekenmerkte Ruhrdal, het klein idyllische vakwerkstadje Monschau. Bijzonder is het museum, dat de burgerlijke wooncultuur van de 18e en 19e eeuw laat zien. Evenals de prachtige burcht, die in de 19e eeuw verviel en gerestaureerd is.

                            website

                            St. Vith (55km)

Op de grens van de Eifel en de Ardennen ligt het prachtige plaatsje St. Vith. Hier kunt u van de gezellige Belgische cultuur genieten.

                            website

                            Euskirchen (56km)

Euskirchen heeft niet alleen vele kerken, burchten en historische gebouwen, maar ook een uitgebreid cultuuraanbod. Ook het shoppingcentrum is zeker een bezoek waard.

                            website

                            Cochem (64km)

Cochem wordt gezien als het mooiste plaatsje in Duitsland gelegen aan de Moezel. Het wordt gedomineerd door de burcht van Cochem die in de 12e à 13e eeuw werd gebouwd als bescherming van de stad en de Moezel tegen aanvallen.

                            website

                            Trier (95km)

De oudste stad van Duitsland heeft zeer veel te bieden zoals historische monumenten, geschiedenis, natuur en wijngaarden. Neem deel aan diverse boottochtjes of maak eens een wandeling door het gezellige winkelcentrum.

                            website

                            Koblenz (96km)

Koblenz is een prachtig gelegen oude stad ingeklemd tussen de samenvloeiing van de Moezel en de Rijn. Met een geschiedenis die terug gaat tot de Romeinse tijd meer dan 2000 jaar geleden.

                            website

                            Aken (130 km)

De stad met zijn legendes en legendarische geschiedenis. Luister naar het prachtige klokkenspel van het gemeentehuis en maak een leuke dag in Aken mee.

                            Website

Fietsen

In de directe omgeving van huis Tara
zijn tal van fietsmogelijkheden.De Kylltalradweg, die zich op slechts 3 km afstand bevindt, is een aanrader voor mensen die graag fietsen en op een mooie manier willen kennis maken met de prachtige landschappen in de Eifel. Bovendien is de route goed te fietsen aangezien er niet al te grote hoogteverschillen zijn. Natuurlijk ontkomt u niet aan enig "klimwerk" in de Eifel. Op een enkel gedeelte zal er geklommen moeten worden maar u kunt er dan altijd voor kiezen dit gedeelte per trein af te leggen. Maar over het algemeen is het op deze fietsroute goed te doen. Er is zelfs een traject van 20 kilometer als speciaal "kinderfietspad" gemarkeerd wat inhoudt dat het fietsen hier zeer comfortabel en makkelijk is. De Kylltalradweg sluit aan op diverse andere fietspaden te weten:

Stadtkyll: Prümtalradweg.

Bolsdorf-Hillesheim: Kalkeifelradweg.

Gerolstein: Eifel Ardennen Fietspad.

Bitburg-Erdorf: Nimstalradweg.

Trier-Ehrang: Moezelradweg.

                            website

Zwemmen

                            Kronenburg dorp en Kronenburg meer (13km)

Kronenburg is een prachtige plek in de Eifel. De historische dorpskern van Kronenburg ligt hoog op een heuvel en heeft prachtige oude stadspoorten, een stukje oude vestingmuur met een 16e-eeuws kerkje en een mooie ruïne van een 13e-eeuwse burcht, gelegen op een rots en begroeid met wilde bloemen. Op dit plekje in Kronenburg heeft u een prachtig uitzicht op de omgeving en de Kronenburger See beneden. De Kronenburger See is een aardig meertje in de Eifel, omgeven door bos met volop recreatiemogelijkheden. Er is een Rundwanderweg, een surfschool en zeilschool, en u kunt er boten en fietsen huren.
                                 Vanzelfsprekend kunt u hier prima zwemmen.

                            website

                            Hallen- und Freibad Gerolstein (14km)

Het dichtstbijzijnde zwembad heeft een mooi binnen- en buitenbad. Het binnenbad heeft beperkte openingstijden voor vrij zwemmen.

Raderstraße 22-24, Gerolstein.

                            website

                            Freizeitbad Prüm (23km)

Omgeven door een prachtig landschap, in de zonnige vallei omringd door bossen, ligt het zwembad. Of je baantjes wil trekken of wilt spelen, voor ieder is wat wils.

Teichstrasse 20, Prüm

                            website

                            De Maaren in Daun (30km)

Daarnaast zijn er tal
van prachtige vulkaanmeren, Maaren geheten, waar u heerlijk kunt zwemmen in het
koude diepe water.  Bij de  Gemündener Maar en de Schalkenmehre Maar kunt u gebruik maken van waterfietsen, een duikplank of heerlijk in de zon of schaduw genieten van het uitzicht. Er is horeca aanwezig voor het nuttigen van een ijsje of biertje.

                            Eifelbad (44km)

Het Eifelbad biedt op bijna 700 m2 talrijke attracties en aangename watertemperaturen zorgen voor de perfecte setting voor een dagje uit met het hele gezin.

Dr. Gervestrasse 16, Bad

Munstereifel

                            website

                            Cascade Bitburg (55km)

Of het nu winter of zomer is, in het Cascade zwembad met sauna is het altijd mooi weer. Het hele jaar door kunt u hier ontspannen en genieten van een leuke en actieve dag!

Talweg 4, Bitburg

                            website

Wintersport

Op slechts korte afstand van de Zuid-Limburgse grens liggen de beboste toppen van de Duitse Eifel. Wanneer in het Rijndal bij temperaturen van 0 tot 4 °C regen valt, kan de wintersporter in de Eifel op sneeuw rekenen.

                            Website

                            Hellenthal (24km)

Skigebied Hollerath/Udenbreth

2 sleepliften

Langste afdaling: 550m

Hoogte: tot 690m

Contact:

D-53940 Hellenthal

Telefoon: 00 49 24 82 85 115

E-mail: tourismus@hellenthal.de

                            website

                            Prüm (26km)

Skigebied Schwarzer

Mann/Wolfsschulucht

3 sleepliften

Langste afdaling: 800m

Hoogte: tot 698m

Contact:

D-54596 Prüm

Telefoon: 00 49 65 51 505

E-mail: ti@pruem.de

                            website

                            Daun (37km)

Skigebied Rohren

3 sleepliften

Langste afdaling: 1.000m

Hoogte: tot 650

Contact:

D-54552 Daun

Telefoon: 00 49 24 72 80 48

E-mail: touristinfo@daun.de

                            website

                            Monschau (49km)

Skigebied Rohren

3 sleepliften

Langste afdaling: 1.000m

Hoogte: tot 650m

Contact:

D-52156 Monschau

Telefoon: 00 49 24 72 80 48

E-mail: touristik@monschau.de

                            website

Contact

Telefoon: 06 253 88 358

                    info@uittenhoutadvies.nl

Links

                            micazu Tara

                             uittenhout advies

                2015 rgelink.nl


text:
namespace dp2Circulation
{
    partial class PrintOrderForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PrintOrderForm));
            this.button_next = new System.Windows.Forms.Button();
            this.tabControl_main = new System.Windows.Forms.TabControl();
            this.tabPage_load = new System.Windows.Forms.TabPage();
            this.checkBox_print_accepted = new System.Windows.Forms.CheckBox();
            this.label3 = new System.Windows.Forms.Label();
            this.comboBox_load_type = new System.Windows.Forms.ComboBox();
            this.button_load_loadFromBatchNo = new System.Windows.Forms.Button();
            this.button_load_loadFromFile = new System.Windows.Forms.Button();
            this.tabPage_saveChange = new System.Windows.Forms.TabPage();
            this.textBox_saveChange_info = new System.Windows.Forms.TextBox();
            this.button_saveChange_saveChange = new System.Windows.Forms.Button();
            this.tabPage_print = new System.Windows.Forms.TabPage();
            this.button_print_arriveRatioStatis = new System.Windows.Forms.Button();
            this.contextMenuStrip_arriveRatio = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.toolStripMenuItem_arriveRatio_outputExcel = new System.Windows.Forms.ToolStripMenuItem();
            this.button_print_outputOrderOption = new System.Windows.Forms.Button();
            this.button_print_outputOrder = new System.Windows.Forms.Button();
            this.button_print_originOption = new System.Windows.Forms.Button();
            this.button_print_printOriginList = new System.Windows.Forms.Button();
            this.button_print_mergedOption = new System.Windows.Forms.Button();
            this.button_print_printOrderList = new System.Windows.Forms.Button();
            this.contextMenuStrip_printOrder = new System.Windows.Forms.ContextMenuStrip(this.components);
            this.toolStripMenuItem_printOrder_outputExcel = new System.Windows.Forms.ToolStripMenuItem();
            this.listView_origin = new DigitalPlatform.GUI.ListViewNF();
            this.imageList_lineType = new System.Windows.Forms.ImageList(this.components);
            this.tabControl_items = new System.Windows.Forms.TabControl();
            this.tabPage_originItems = new System.Windows.Forms.TabPage();
            this.tabPage_mergedItems = new System.Windows.Forms.TabPage();
            this.listView_merged = new DigitalPlatform.GUI.ListViewNF();
            this.tableLayoutPanel_main = new System.Windows.Forms.TableLayoutPanel();
            this.tabControl_main.SuspendLayout();
            this.tabPage_load.SuspendLayout();
            this.tabPage_saveChange.SuspendLayout();
            this.tabPage_print.SuspendLayout();
            this.contextMenuStrip_arriveRatio.SuspendLayout();
            this.contextMenuStrip_printOrder.SuspendLayout();
            this.tabControl_items.SuspendLayout();
            this.tabPage_originItems.SuspendLayout();
            this.tabPage_mergedItems.SuspendLayout();
            this.tableLayoutPanel_main.SuspendLayout();
            this.SuspendLayout();
            //
            // button_next
            //
            this.button_next.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.button_next.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.button_next.Location = new System.Drawing.Point(569, 245);
            this.button_next.Name = "button_next";
            this.button_next.Size = new System.Drawing.Size(124, 33);
            this.button_next.TabIndex = 3;
            this.button_next.Text = "下一步(&N)";
            this.button_next.UseVisualStyleBackColor = true;
            this.button_next.Click += new System.EventHandler(this.button_next_Click);
            //
            // tabControl_main
            //
            this.tabControl_main.Controls.Add(this.tabPage_load);
            this.tabControl_main.Controls.Add(this.tabPage_saveChange);
            this.tabControl_main.Controls.Add(this.tabPage_print);
            this.tabControl_main.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl_main.Location = new System.Drawing.Point(3, 3);
            this.tabControl_main.Name = "tabControl_main";
            this.tabControl_main.SelectedIndex = 0;
            this.tabControl_main.Size = new System.Drawing.Size(690, 236);
            this.tabControl_main.TabIndex = 2;
            this.tabControl_main.SelectedIndexChanged += new System.EventHandler(this.tabControl_main_SelectedIndexChanged);
            //
            // tabPage_load
            //
            this.tabPage_load.Controls.Add(this.checkBox_print_accepted);
            this.tabPage_load.Controls.Add(this.label3);
            this.tabPage_load.Controls.Add(this.comboBox_load_type);
            this.tabPage_load.Controls.Add(this.button_load_loadFromBatchNo);
            this.tabPage_load.Controls.Add(this.button_load_loadFromFile);
            this.tabPage_load.Location = new System.Drawing.Point(4, 28);
            this.tabPage_load.Name = "tabPage_load";
            this.tabPage_load.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage_load.Size = new System.Drawing.Size(682, 204);
            this.tabPage_load.TabIndex = 0;
            this.tabPage_load.Text = "装载";
            this.tabPage_load.UseVisualStyleBackColor = true;
            //
            // checkBox_print_accepted
            //
            this.checkBox_print_accepted.AutoSize = true;
            this.checkBox_print_accepted.Location = new System.Drawing.Point(180, 45);
            this.checkBox_print_accepted.Margin = new System.Windows.Forms.Padding(4);
            this.checkBox_print_accepted.Name = "checkBox_print_accepted";
            this.checkBox_print_accepted.Size = new System.Drawing.Size(133, 22);
            this.checkBox_print_accepted.TabIndex = 2;
            this.checkBox_print_accepted.Text = "验收情况(&A)";
            this.checkBox_print_accepted.UseVisualStyleBackColor = true;
            this.checkBox_print_accepted.CheckedChanged += new System.EventHandler(this.checkBox_print_accepted_CheckedChanged);
            //
            // label3
            //
            this.label3.AutoSize = true;
            this.label3.Location = new System.Drawing.Point(8, 10);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(134, 18);
            this.label3.TabIndex = 0;
            this.label3.Text = "出版物类型(&T):";
            //
            // comboBox_load_type
            //
            this.comboBox_load_type.FormattingEnabled = true;
            this.comboBox_load_type.Items.AddRange(new object[] {
            "图书",
            "连续出版物"});
            this.comboBox_load_type.Location = new System.Drawing.Point(180, 8);
            this.comboBox_load_type.Name = "comboBox_load_type";
            this.comboBox_load_type.Size = new System.Drawing.Size(172, 26);
            this.comboBox_load_type.TabIndex = 1;
            this.comboBox_load_type.Text = "图书";
            this.comboBox_load_type.SelectedIndexChanged += new System.EventHandler(this.comboBox_load_type_SelectedIndexChanged);
            //
            // button_load_loadFromBatchNo
            //
            this.button_load_loadFromBatchNo.Location = new System.Drawing.Point(180, 126);
            this.button_load_loadFromBatchNo.Name = "button_load_loadFromBatchNo";
            this.button_load_loadFromBatchNo.Size = new System.Drawing.Size(357, 33);
            this.button_load_loadFromBatchNo.TabIndex = 4;
            this.button_load_loadFromBatchNo.Text = "根据[订购]批次号检索装载(&B)...";
            this.button_load_loadFromBatchNo.UseVisualStyleBackColor = true;
            this.button_load_loadFromBatchNo.Click += new System.EventHandler(this.button_load_loadFromBatchNo_Click);
            //
            // button_load_loadFromFile
            //
            this.button_load_loadFromFile.Location = new System.Drawing.Point(180, 86);
            this.button_load_loadFromFile.Name = "button_load_loadFromFile";
            this.button_load_loadFromFile.Size = new System.Drawing.Size(357, 33);
            this.button_load_loadFromFile.TabIndex = 3;
            this.button_load_loadFromFile.Text = "从[订购库]记录路径文件装载(&F)...";
            this.button_load_loadFromFile.UseVisualStyleBackColor = true;
            this.button_load_loadFromFile.Click += new System.EventHandler(this.button_load_loadFromFile_Click);
            //
            // tabPage_saveChange
            //
            this.tabPage_saveChange.Controls.Add(this.textBox_saveChange_info);
            this.tabPage_saveChange.Controls.Add(this.button_saveChange_saveChange);
            this.tabPage_saveChange.Location = new System.Drawing.Point(4, 28);
            this.tabPage_saveChange.Name = "tabPage_saveChange";
            this.tabPage_saveChange.Size = new System.Drawing.Size(688, 204);
            this.tabPage_saveChange.TabIndex = 3;
            this.tabPage_saveChange.Text = "保存修改";
            this.tabPage_saveChange.UseVisualStyleBackColor = true;
            //
            // textBox_saveChange_info
            //
            this.textBox_saveChange_info.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
            | System.Windows.Forms.AnchorStyles.Left)
            | System.Windows.Forms.AnchorStyles.Right)));
            this.textBox_saveChange_info.BackColor = System.Drawing.SystemColors.Info;
            this.textBox_saveChange_info.Location = new System.Drawing.Point(3, 4);
            this.textBox_saveChange_info.Multiline = true;
            this.textBox_saveChange_info.Name = "textBox_saveChange_info";
            this.textBox_saveChange_info.ScrollBars = System.Windows.Forms.ScrollBars.Both;
            this.textBox_saveChange_info.Size = new System.Drawing.Size(668, 142);
            this.textBox_saveChange_info.TabIndex = 3;
            //
            // button_saveChange_saveChange
            //
            this.button_saveChange_saveChange.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.button_saveChange_saveChange.Location = new System.Drawing.Point(418, 160);
            this.button_saveChange_saveChange.Name = "button_saveChange_saveChange";
            this.button_saveChange_saveChange.Size = new System.Drawing.Size(255, 33);
            this.button_saveChange_saveChange.TabIndex = 2;
            this.button_saveChange_saveChange.Text = "保存对原始数据的修改(&S)";
            this.button_saveChange_saveChange.UseVisualStyleBackColor = true;
            this.button_saveChange_saveChange.Click += new System.EventHandler(this.button_saveChange_saveChange_Click);
            //
            // tabPage_print
            //
            this.tabPage_print.AutoScroll = true;
            this.tabPage_print.Controls.Add(this.button_print_arriveRatioStatis);
            this.tabPage_print.Controls.Add(this.button_print_outputOrderOption);
            this.tabPage_print.Controls.Add(this.button_print_outputOrder);
            this.tabPage_print.Controls.Add(this.button_print_originOption);
            this.tabPage_print.Controls.Add(this.button_print_printOriginList);
            this.tabPage_print.Controls.Add(this.button_print_mergedOption);
            this.tabPage_print.Controls.Add(this.button_print_printOrderList);
            this.tabPage_print.Location = new System.Drawing.Point(4, 28);
            this.tabPage_print.Name = "tabPage_print";
            this.tabPage_print.Size = new System.Drawing.Size(688, 204);
            this.tabPage_print.TabIndex = 2;
            this.tabPage_print.Text = "打印 / 输出";
            this.tabPage_print.UseVisualStyleBackColor = true;
            //
            // button_print_arriveRatioStatis
            //
            this.button_print_arriveRatioStatis.ContextMenuStrip = this.contextMenuStrip_arriveRatio;
            this.button_print_arriveRatioStatis.Enabled = false;
            this.button_print_arriveRatioStatis.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.button_print_arriveRatioStatis.Location = new System.Drawing.Point(8, 148);
            this.button_print_arriveRatioStatis.Name = "button_print_arriveRatioStatis";
            this.button_print_arriveRatioStatis.Size = new System.Drawing.Size(330, 33);
            this.button_print_arriveRatioStatis.TabIndex = 7;
            this.button_print_arriveRatioStatis.Text = "到货率统计(&A)...";
            this.button_print_arriveRatioStatis.UseVisualStyleBackColor = true;
            this.button_print_arriveRatioStatis.Click += new System.EventHandler(this.button_print_arriveRatioStatis_Click);
            //
            // contextMenuStrip_arriveRatio
            //
            this.contextMenuStrip_arriveRatio.ImageScalingSize = new System.Drawing.Size(24, 24);
            this.contextMenuStrip_arriveRatio.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripMenuItem_arriveRatio_outputExcel});
            this.contextMenuStrip_arriveRatio.Name = "contextMenuStrip_printOrder";
            this.contextMenuStrip_arriveRatio.Size = new System.Drawing.Size(206, 32);
            //
            // toolStripMenuItem_arriveRatio_outputExcel
            //
            this.toolStripMenuItem_arriveRatio_outputExcel.Name = "toolStripMenuItem_arriveRatio_outputExcel";
            this.toolStripMenuItem_arriveRatio_outputExcel.Size = new System.Drawing.Size(205, 28);
            this.toolStripMenuItem_arriveRatio_outputExcel.Text = "输出 Excel 文件";
            this.toolStripMenuItem_arriveRatio_outputExcel.Click += new System.EventHandler(this.toolStripMenuItem_arriveRatio_outputExcel_Click);
            //
            // button_print_outputOrderOption
            //
            this.button_print_outputOrderOption.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.button_print_outputOrderOption.Location = new System.Drawing.Point(345, 110);
            this.button_print_outputOrderOption.Name = "button_print_outputOrderOption";
            this.button_print_outputOrderOption.Size = new System.Drawing.Size(228, 33);
            this.button_print_outputOrderOption.TabIndex = 6;
            this.button_print_outputOrderOption.Text = "输出选项(&F)...";
            this.button_print_outputOrderOption.UseVisualStyleBackColor = true;
            this.button_print_outputOrderOption.Click += new System.EventHandler(this.button_print_outputOrderOption_Click);
            //
            // button_print_outputOrder
            //
            this.button_print_outputOrder.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.button_print_outputOrder.Location = new System.Drawing.Point(8, 110);
            this.button_print_outputOrder.Name = "button_print_outputOrder";
            this.button_print_outputOrder.Size = new System.Drawing.Size(330, 33);
            this.button_print_outputOrder.TabIndex = 5;
            this.button_print_outputOrder.Text = "输出订单(&O)...";
            this.button_print_outputOrder.UseVisualStyleBackColor = true;
            this.button_print_outputOrder.Click += new System.EventHandler(this.button_print_outputOrder_Click);
            //
            // button_print_originOption
            //
            this.button_print_originOption.Location = new System.Drawing.Point(345, 48);
            this.button_print_originOption.Name = "button_print_originOption";
            this.button_print_originOption.Size = new System.Drawing.Size(228, 33);
            this.button_print_originOption.TabIndex = 4;
            this.button_print_originOption.Text = "原始数据打印选项(&T)...";
            this.button_print_originOption.UseVisualStyleBackColor = true;
            this.button_print_originOption.Click += new System.EventHandler(this.button_print_originOption_Click);
            //
            // button_print_printOriginList
            //
            this.button_print_printOriginList.Location = new System.Drawing.Point(8, 48);
            this.button_print_printOriginList.Name = "button_print_printOriginList";
            this.button_print_printOriginList.Size = new System.Drawing.Size(330, 33);
            this.button_print_printOriginList.TabIndex = 3;
            this.button_print_printOriginList.Text = "打印原始数据(&R)...";
            this.button_print_printOriginList.UseVisualStyleBackColor = true;
            this.button_print_printOriginList.Click += new System.EventHandler(this.button_print_printOriginList_Click);
            //
            // button_print_mergedOption
            //
            this.button_print_mergedOption.Location = new System.Drawing.Point(345, 8);
            this.button_print_mergedOption.Name = "button_print_mergedOption";
            this.button_print_mergedOption.Size = new System.Drawing.Size(228, 33);
            this.button_print_mergedOption.TabIndex = 2;
            this.button_print_mergedOption.Text = "订单打印选项(&O)...";
            this.button_print_mergedOption.UseVisualStyleBackColor = true;
            this.button_print_mergedOption.Click += new System.EventHandler(this.button_merged_print_option_Click);
            //
            // button_print_printOrderList
            //
            this.button_print_printOrderList.ContextMenuStrip = this.contextMenuStrip_printOrder;
            this.button_print_printOrderList.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.button_print_printOrderList.Location = new System.Drawing.Point(8, 8);
            this.button_print_printOrderList.Name = "button_print_printOrderList";
            this.button_print_printOrderList.Size = new System.Drawing.Size(330, 33);
            this.button_print_printOrderList.TabIndex = 0;
            this.button_print_printOrderList.Text = "打印订单(&P)...";
            this.button_print_printOrderList.UseVisualStyleBackColor = true;
            this.button_print_printOrderList.Click += new System.EventHandler(this.button_print_printOrderList_Click);
            //
            // contextMenuStrip_printOrder
            //
            this.contextMenuStrip_printOrder.ImageScalingSize = new System.Drawing.Size(24, 24);
            this.contextMenuStrip_printOrder.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripMenuItem_printOrder_outputExcel});
            this.contextMenuStrip_printOrder.Name = "contextMenuStrip_printOrder";
            this.contextMenuStrip_printOrder.Size = new System.Drawing.Size(206, 32);
            //
            // toolStripMenuItem_printOrder_outputExcel
            //
            this.toolStripMenuItem_printOrder_outputExcel.Name = "toolStripMenuItem_printOrder_outputExcel";
            this.toolStripMenuItem_printOrder_outputExcel.Size = new System.Drawing.Size(205, 28);
            this.toolStripMenuItem_printOrder_outputExcel.Text = "输出 Excel 文件";
            this.toolStripMenuItem_printOrder_outputExcel.Click += new System.EventHandler(this.toolStripMenuItem_outputExcel_Click);
            //
            // listView_origin
            //
            this.listView_origin.Dock = System.Windows.Forms.DockStyle.Fill;
            this.listView_origin.FullRowSelect = true;
            this.listView_origin.HideSelection = false;
            this.listView_origin.LargeImageList = this.imageList_lineType;
            this.listView_origin.Location = new System.Drawing.Point(3, 3);
            this.listView_origin.Name = "listView_origin";
            this.listView_origin.Size = new System.Drawing.Size(676, 140);
            this.listView_origin.SmallImageList = this.imageList_lineType;
            this.listView_origin.TabIndex = 4;
            this.listView_origin.UseCompatibleStateImageBehavior = false;
            this.listView_origin.View = System.Windows.Forms.View.Details;
            this.listView_origin.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView_origin_ColumnClick);
            this.listView_origin.DoubleClick += new System.EventHandler(this.listView_origin_DoubleClick);
            this.listView_origin.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listView_origin_MouseUp);
            //
            // imageList_lineType
            //
            this.imageList_lineType.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList_lineType.ImageStream")));
            this.imageList_lineType.TransparentColor = System.Drawing.Color.Transparent;
            this.imageList_lineType.Images.SetKeyName(0, "WarningHS.png");
            this.imageList_lineType.Images.SetKeyName(1, "Book_angleHS.png");
            this.imageList_lineType.Images.SetKeyName(2, "Book_openHS.png");
            //
            // tabControl_items
            //
            this.tabControl_items.Controls.Add(this.tabPage_originItems);
            this.tabControl_items.Controls.Add(this.tabPage_mergedItems);
            this.tabControl_items.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabControl_items.Location = new System.Drawing.Point(3, 284);
            this.tabControl_items.Name = "tabControl_items";
            this.tabControl_items.SelectedIndex = 0;
            this.tabControl_items.Size = new System.Drawing.Size(690, 178);
            this.tabControl_items.TabIndex = 5;
            //
            // tabPage_originItems
            //
            this.tabPage_originItems.Controls.Add(this.listView_origin);
            this.tabPage_originItems.Location = new System.Drawing.Point(4, 28);
            this.tabPage_originItems.Name = "tabPage_originItems";
            this.tabPage_originItems.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage_originItems.Size = new System.Drawing.Size(682, 146);
            this.tabPage_originItems.TabIndex = 0;
            this.tabPage_originItems.Text = "原始数据";
            this.tabPage_originItems.UseVisualStyleBackColor = true;
            //
            // tabPage_mergedItems
            //
            this.tabPage_mergedItems.Controls.Add(this.listView_merged);
            this.tabPage_mergedItems.Location = new System.Drawing.Point(4, 28);
            this.tabPage_mergedItems.Name = "tabPage_mergedItems";
            this.tabPage_mergedItems.Padding = new System.Windows.Forms.Padding(3);
            this.tabPage_mergedItems.Size = new System.Drawing.Size(688, 121);
            this.tabPage_mergedItems.TabIndex = 1;
            this.tabPage_mergedItems.Text = "合并后";
            this.tabPage_mergedItems.UseVisualStyleBackColor = true;
            //
            // listView_merged
            //
            this.listView_merged.Dock = System.Windows.Forms.DockStyle.Fill;
            this.listView_merged.FullRowSelect = true;
            this.listView_merged.HideSelection = false;
            this.listView_merged.LargeImageList = this.imageList_lineType;
            this.listView_merged.Location = new System.Drawing.Point(3, 3);
            this.listView_merged.Name = "listView_merged";
            this.listView_merged.Size = new System.Drawing.Size(682, 115);
            this.listView_merged.SmallImageList = this.imageList_lineType;
            this.listView_merged.TabIndex = 5;
            this.listView_merged.UseCompatibleStateImageBehavior = false;
            this.listView_merged.View = System.Windows.Forms.View.Details;
            this.listView_merged.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.listView_merged_ColumnClick);
            this.listView_merged.MouseUp += new System.Windows.Forms.MouseEventHandler(this.listView_merged_MouseUp);
            //
            // tableLayoutPanel_main
            //
            this.tableLayoutPanel_main.ColumnCount = 1;
            this.tableLayoutPanel_main.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanel_main.Controls.Add(this.tabControl_main, 0, 0);
            this.tableLayoutPanel_main.Controls.Add(this.tabControl_items, 0, 2);
            this.tableLayoutPanel_main.Controls.Add(this.button_next, 0, 1);
            this.tableLayoutPanel_main.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel_main.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel_main.Name = "tableLayoutPanel_main";
            this.tableLayoutPanel_main.RowCount = 3;
            this.tableLayoutPanel_main.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel_main.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel_main.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel_main.Size = new System.Drawing.Size(696, 465);
            this.tableLayoutPanel_main.TabIndex = 6;
            //
            // PrintOrderForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 18F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(696, 465);
            this.Controls.Add(this.tableLayoutPanel_main);
            this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name = "PrintOrderForm";
            this.Text = "打印订单";
            this.Activated += new System.EventHandler(this.PrintOrderForm_Activated);
            this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.PrintOrderForm_FormClosing);
            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.PrintOrderForm_FormClosed);
            this.Load += new System.EventHandler(this.PrintOrderForm_Load);
            this.tabControl_main.ResumeLayout(false);
            this.tabPage_load.ResumeLayout(false);
            this.tabPage_load.PerformLayout();
            this.tabPage_saveChange.ResumeLayout(false);
            this.tabPage_saveChange.PerformLayout();
            this.tabPage_print.ResumeLayout(false);
            this.contextMenuStrip_arriveRatio.ResumeLayout(false);
            this.contextMenuStrip_printOrder.ResumeLayout(false);
            this.tabControl_items.ResumeLayout(false);
            this.tabPage_originItems.ResumeLayout(false);
            this.tabPage_mergedItems.ResumeLayout(false);
            this.tableLayoutPanel_main.ResumeLayout(false);
            this.ResumeLayout(false);

        }

        #endregion

        private System.Windows.Forms.Button button_next;
        private System.Windows.Forms.TabControl tabControl_main;
        private System.Windows.Forms.TabPage tabPage_load;
        private System.Windows.Forms.Button button_load_loadFromBatchNo;
        private System.Windows.Forms.Button button_load_loadFromFile;
        private System.Windows.Forms.TabPage tabPage_print;
        private System.Windows.Forms.Button button_print_mergedOption;
        private System.Windows.Forms.Button button_print_printOrderList;
        private DigitalPlatform.GUI.ListViewNF listView_origin;
        private System.Windows.Forms.TabControl tabControl_items;
        private System.Windows.Forms.TabPage tabPage_originItems;
        private System.Windows.Forms.TabPage tabPage_mergedItems;
        private DigitalPlatform.GUI.ListViewNF listView_merged;
        private System.Windows.Forms.Button button_print_printOriginList;
        private System.Windows.Forms.Button button_print_originOption;
        private System.Windows.Forms.ImageList imageList_lineType;
        private System.Windows.Forms.TabPage tabPage_saveChange;
        private System.Windows.Forms.Button button_saveChange_saveChange;
        private System.Windows.Forms.TextBox textBox_saveChange_info;
        private System.Windows.Forms.Label label3;
        private System.Windows.Forms.ComboBox comboBox_load_type;
        private System.Windows.Forms.Button button_print_outputOrder;
        private System.Windows.Forms.Button button_print_outputOrderOption;
        private System.Windows.Forms.CheckBox checkBox_print_accepted;
        private System.Windows.Forms.Button button_print_arriveRatioStatis;
        private System.Windows.Forms.ContextMenuStrip contextMenuStrip_printOrder;
        private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem_printOrder_outputExcel;
        private System.Windows.Forms.ContextMenuStrip contextMenuStrip_arriveRatio;
        private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem_arriveRatio_outputExcel;
        private System.Windows.Forms.TableLayoutPanel tableLayoutPanel_main;
    }
}

redpajama_set_name: RedPajamaGithub


text:
package com.google.gerrit.server.cache.serialize.entities;

import static com.google.common.truth.Truth.assertThat;
import static com.google.gerrit.server.cache.serialize.entities.LabelValueSerializer.deserialize;
import static com.google.gerrit.server.cache.serialize.entities.LabelValueSerializer.serialize;

import com.google.gerrit.entities.LabelValue;
import org.junit.Test;

public class LabelValueSerializerTest {
  @Test
  public void roundTrip() {
    LabelValue autoValue = LabelValue.create((short) 123, "Approved!");
    assertThat(deserialize(serialize(autoValue))).isEqualTo(autoValue);
  }
}


text:
namespace lna {

//==============================================================================
// TilesetExtensionModule

void TilesetExtensionModule::onActivate(lna::EditorContext* context)
{
    m_navigator = ln::makeObject<TilesetNavigator>();
    context->mainWindow()->navigatorManager()->addNavigator(m_navigator);

	m_editorModelFactory = ln::makeObject<TilesetEditorModelFactory>();
    context->pluginManager()->registerAssetEditorFactory(m_editorModelFactory);
}

void TilesetExtensionModule::onDeactivate(lna::EditorContext* context)
{
	context->pluginManager()->unregisterAssetEditorFactory(m_editorModelFactory);
}

//==============================================================================
// TilesetEditorModelFactory

Ref<lna::AssetEditorModel> TilesetEditorModelFactory::createAssetEditorModel()
{
	return ln::makeObject<TilesetEditorModel>();
}

} // namespace lna


text:
package gov.nih.nci.cacisweb.exception;

/**
 *
 * @author Ajay Nalamala
 *
 */
public class CaCISWebException extends Exception {

    /**
	 *
	 */
    private static final long serialVersionUID = 3447728820041499533L;

    public CaCISWebException() {
    }

    public CaCISWebException(String arg0) {
        super(arg0);
    }

    public CaCISWebException(Throwable arg0) {
        super(arg0);
    }

    public CaCISWebException(String arg0, Throwable arg1) {
        super(arg0, arg1);
    }

}


text:
export const ROUTE_DID_CHANGE = 'ROUTE_DID_CHANGE';
export const TOGGLE_CODE = 'TOGGLE_CODE';
export const TOGGLE_TREE = 'TOGGLE_TREE';

/**
 * To be fired when a new client side route is loaded
 * @param {Location} location
 */
export function routeDidChange(location) {
    return {
        type: ROUTE_DID_CHANGE,
        location
    }
}

export function toggleCode() {
    return {
        type: TOGGLE_CODE
    }
}

export function toggleTree() {
    return {
        type: TOGGLE_TREE
    }
}


text:
class OSRMError < StandardError
  attr_accessor :msg, :code, :process

  def initialize process, code, msg, log, lines
    @process = process
    @code = code
    @msg = msg
    @lines = lines
    @log = log
    @extract = log_tail @log, @lines
  end

  def to_s
    "*** #{@msg}\nLast #{@lines} lines from #{@log}:\n#{@extract}\n"
  end

  private

  def log_tail path, n
    Dir.chdir TEST_FOLDER do
      expanded = File.expand_path path
      if File.exists? expanded
        File.open(expanded) do |f|
          return f.tail(n).map { |line| "    #{line}" }.join "\n"
        end
      else
        return "File '#{expanded} does not exist!"
      end
    end
  end
end

class FileError < OSRMError
  def initialize code, msg
    super 'fileutil', code, msg, PREPROCESS_LOG_FILE, 5
  end
end

class OsmosisError < OSRMError
  def initialize code, msg
    super 'osmosis', code, msg, PREPROCESS_LOG_FILE, 40
  end
end

class ExtractError < OSRMError
  def initialize code, msg
    super 'osrm-extract', code, msg, PREPROCESS_LOG_FILE, 3
  end
end

class PrepareError < OSRMError
  def initialize code, msg
    super 'osrm-prepare', code, msg, PREPROCESS_LOG_FILE, 3
  end
end

class RoutedError < OSRMError
  def initialize msg
    super 'osrm-routed', nil, msg, OSRM_ROUTED_LOG_FILE, 3
  end
end


text:
package org.wso2.carbon.apimgt.rest.api.admin.v1.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.*;

import java.util.Objects;

import javax.validation.Valid;

public class EnvironmentDTO   {

    private String id = null;
    private String name = null;
    private String displayName = null;
    private String provider = null;
    private String description = null;
    private Boolean isReadOnly = null;
    private List<VHostDTO> vhosts = new ArrayList<VHostDTO>();
    private List<GatewayEnvironmentProtocolURIDTO> endpointURIs = new ArrayList<GatewayEnvironmentProtocolURIDTO>();
    private List<AdditionalPropertyDTO> additionalProperties = new ArrayList<AdditionalPropertyDTO>();

  /**
   **/
  public EnvironmentDTO id(String id) {
    this.id = id;
    return this;
  }

  @ApiModelProperty(example = "ece92bdc-e1e6-325c-b6f4-656208a041e9", value = "")
  @JsonProperty("id")
  public String getId() {
    return id;
  }
  public void setId(String id) {
    this.id = id;
  }

  /**
   **/
  public EnvironmentDTO name(String name) {
    this.name = name;
    return this;
  }

  @ApiModelProperty(example = "us-region", required = true, value = "")
  @JsonProperty("name")
  @NotNull
 @Pattern(regexp="^[a-zA-Z0-9_-]+$") @Size(min=1,max=255)  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }

  /**
   **/
  public EnvironmentDTO displayName(String displayName) {
    this.displayName = displayName;
    return this;
  }

  @ApiModelProperty(example = "US Region", value = "")
  @JsonProperty("displayName")
 @Size(min=1,max=255)  public String getDisplayName() {
    return displayName;
  }
  public void setDisplayName(String displayName) {
    this.displayName = displayName;
  }

  /**
   **/
  public EnvironmentDTO provider(String provider) {
    this.provider = provider;
    return this;
  }

  @ApiModelProperty(example = "wso2", value = "")
  @JsonProperty("provider")
  public String getProvider() {
    return provider;
  }
  public void setProvider(String provider) {
    this.provider = provider;
  }

  /**
   **/
  public EnvironmentDTO description(String description) {
    this.description = description;
    return this;
  }

  @ApiModelProperty(example = "Gateway environment in US Region", value = "")
  @JsonProperty("description")
 @Size(max=1023)  public String getDescription() {
    return description;
  }
  public void setDescription(String description) {
    this.description = description;
  }

  /**
   **/
  public EnvironmentDTO isReadOnly(Boolean isReadOnly) {
    this.isReadOnly = isReadOnly;
    return this;
  }

  @ApiModelProperty(example = "false", value = "")
  @JsonProperty("isReadOnly")
  public Boolean isIsReadOnly() {
    return isReadOnly;
  }
  public void setIsReadOnly(Boolean isReadOnly) {
    this.isReadOnly = isReadOnly;
  }

  /**
   **/
  public EnvironmentDTO vhosts(List<VHostDTO> vhosts) {
    this.vhosts = vhosts;
    return this;
  }

  @ApiModelProperty(required = true, value = "")
      @Valid
  @JsonProperty("vhosts")
  @NotNull
 @Size(min=1)  public List<VHostDTO> getVhosts() {
    return vhosts;
  }
  public void setVhosts(List<VHostDTO> vhosts) {
    this.vhosts = vhosts;
  }

  /**
   **/
  public EnvironmentDTO endpointURIs(List<GatewayEnvironmentProtocolURIDTO> endpointURIs) {
    this.endpointURIs = endpointURIs;
    return this;
  }

  @ApiModelProperty(value = "")
      @Valid
  @JsonProperty("endpointURIs")
  public List<GatewayEnvironmentProtocolURIDTO> getEndpointURIs() {
    return endpointURIs;
  }
  public void setEndpointURIs(List<GatewayEnvironmentProtocolURIDTO> endpointURIs) {
    this.endpointURIs = endpointURIs;
  }

  /**
   **/
  public EnvironmentDTO additionalProperties(List<AdditionalPropertyDTO> additionalProperties) {
    this.additionalProperties = additionalProperties;
    return this;
  }

  @ApiModelProperty(value = "")
      @Valid
  @JsonProperty("additionalProperties")
  public List<AdditionalPropertyDTO> getAdditionalProperties() {
    return additionalProperties;
  }
  public void setAdditionalProperties(List<AdditionalPropertyDTO> additionalProperties) {
    this.additionalProperties = additionalProperties;
  }

  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    EnvironmentDTO environment = (EnvironmentDTO) o;
    return Objects.equals(id, environment.id) &&
        Objects.equals(name, environment.name) &&
        Objects.equals(displayName, environment.displayName) &&
        Objects.equals(provider, environment.provider) &&
        Objects.equals(description, environment.description) &&
        Objects.equals(isReadOnly, environment.isReadOnly) &&
        Objects.equals(vhosts, environment.vhosts) &&
        Objects.equals(endpointURIs, environment.endpointURIs) &&
        Objects.equals(additionalProperties, environment.additionalProperties);
  }

  @Override
  public int hashCode() {
    return Objects.hash(id, name, displayName, provider, description, isReadOnly, vhosts, endpointURIs, additionalProperties);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class EnvironmentDTO {\n");

    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    name: ").append(toIndentedString(name)).append("\n");
    sb.append("    displayName: ").append(toIndentedString(displayName)).append("\n");
    sb.append("    provider: ").append(toIndentedString(provider)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    isReadOnly: ").append(toIndentedString(isReadOnly)).append("\n");
    sb.append("    vhosts: ").append(toIndentedString(vhosts)).append("\n");
    sb.append("    endpointURIs: ").append(toIndentedString(endpointURIs)).append("\n");
    sb.append("    additionalProperties: ").append(toIndentedString(additionalProperties)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}


text:
package stores

import java.util.concurrent.atomic.AtomicInteger
import javax.inject.Singleton

import com.linkedin.data.DataMap
import org.coursera.courier.templates.DataTemplates.DataConversion
import org.coursera.example.AnyData
import org.coursera.example.CertificateCourseMetadata
import org.coursera.example.Course
import org.coursera.example.DegreeCourseMetadata
import org.coursera.naptime.model.Keyed

import scala.collection.JavaConverters._

@Singleton
class CourseStore {
  @volatile
  var courseStore = Map.empty[String, Course]
  val nextId = new AtomicInteger(0)

  courseStore = courseStore + (
    "ml" -> Course(
      instructorIds = List(1),
      partnerId = "stanford",
      slug = "machine-learning",
      name = "Machine Learning",
      description = Some("Machine learning is the science of getting computers to act without being explicitly programmed."),
      extraData = AnyData.build(new DataMap(
        Map("firstModuleId" -> "wrh7vtpj").asJava),
        DataConversion.SetReadOnly),
      courseMetadata = CertificateCourseMetadata(
        certificateInstructorId = 1)),
    "lhtl" -> Course(
      instructorIds = List(2),
      partnerId = "ucsd",
      slug = "learning-how-to-learn",
      name = "Learning How to Learn",
      description = None,
      extraData = AnyData.build(new DataMap(
        Map("recentEnrollments" -> new Integer(1000)).asJava),
        DataConversion.SetReadOnly),
      courseMetadata = DegreeCourseMetadata(
        degreeCertificateName = "iMBA")))

  def get(id: String) = courseStore.get(id)

  def create(course: Keyed[String, Course]): Unit = {
    courseStore = courseStore + (course.key -> course.value)
  }

  def all() = courseStore
}


text:
<!DOCTYPE html>
<!--
Copyright (c) 2012 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<link rel="import" href="/tracing/trace_model.html">
<link rel="import" href="/tvcm/events.html">
<link rel="import" href="/tvcm/guid.html">
<link rel="import" href="/tvcm/range.html">
<link rel="import" href="/tracing/trace_model/instant_event.html">
<link rel="import" href="/tracing/trace_model/flow_event.html">

<script>
'use strict';

/**
 * @fileoverview Code for the viewport.
 */
tvcm.exportTo('tracing', function() {

  var RequestSelectionChangeEvent = tvcm.Event.bind(
      undefined, 'requestSelectionChange', true, false);

  var EVENT_TYPES = [
    {
      constructor: tracing.trace_model.Slice,
      name: 'slice',
      pluralName: 'slices'
    },
    {
      constructor: tracing.trace_model.InstantEvent,
      name: 'instantEvent',
      pluralName: 'instantEvents'
    },
    {
      constructor: tracing.trace_model.CounterSample,
      name: 'counterSample',
      pluralName: 'counterSamples'
    },
    {
      constructor: tracing.trace_model.ObjectSnapshot,
      name: 'objectSnapshot',
      pluralName: 'objectSnapshots'
    },
    {
      constructor: tracing.trace_model.ObjectInstance,
      name: 'objectInstance',
      pluralName: 'objectInstances'
    },
    {
      constructor: tracing.trace_model.Sample,
      name: 'sample',
      pluralName: 'samples'
    },
    {
      constructor: tracing.trace_model.FlowEvent,
      name: 'flowEvent',
      pluralName: 'flowEvents'
    }
  ];

  /**
   * Represents a selection within a  and its associated set of tracks.
   * @constructor
   */
  function Selection(opt_events) {
    this.bounds_dirty_ = true;
    this.bounds_ = new tvcm.Range();
    this.length_ = 0;
    this.guid_ = tvcm.GUID.allocate();

    if (opt_events) {
      for (var i = 0; i < opt_events.length; i++)
        this.push(opt_events[i]);
    }
  }
  Selection.prototype = {
    __proto__: Object.prototype,

    get bounds() {
      if (this.bounds_dirty_) {
        this.bounds_.reset();
        for (var i = 0; i < this.length_; i++)
          this[i].addBoundsToRange(this.bounds_);
        this.bounds_dirty_ = false;
      }
      return this.bounds_;
    },

    get duration() {
      if (this.bounds_.isEmpty)
        return 0;
      return this.bounds_.max - this.bounds_.min;
    },

    get length() {
      return this.length_;
    },

    get guid() {
      return this.guid_;
    },

    clear: function() {
      for (var i = 0; i < this.length_; ++i)
        delete this[i];
      this.length_ = 0;
      this.bounds_dirty_ = true;
    },

    push: function(event) {
      this[this.length_++] = event;
      this.bounds_dirty_ = true;
      return event;
    },

    addSelection: function(selection) {
      for (var i = 0; i < selection.length; i++)
        this.push(selection[i]);
    },

    subSelection: function(index, count) {
      count = count || 1;

      var selection = new Selection();
      selection.bounds_dirty_ = true;
      if (index < 0 || index + count > this.length_)
        throw new Error('Index out of bounds');

      for (var i = index; i < index + count; i++)
        selection.push(this[i]);

      return selection;
    },

    getEventsOrganizedByType: function() {
      var events = {};
      EVENT_TYPES.forEach(function(eventType) {
        events[eventType.pluralName] = new Selection();
      });
      for (var i = 0; i < this.length_; i++) {
        var event = this[i];
        EVENT_TYPES.forEach(function(eventType) {
          if (event instanceof eventType.constructor)
            events[eventType.pluralName].push(event);
        });
      }
      return events;
    },

    enumEventsOfType: function(type, func) {
      for (var i = 0; i < this.length_; i++)
        if (this[i] instanceof type)
          func(this[i]);
    },

    map: function(fn) {
      for (var i = 0; i < this.length_; i++)
        fn(this[i]);
    },

    /**
     * Helper for selection previous or next.
     * @param {boolean} offset If positive, select one forward (next).
     *   Else, select previous.
     *
     * @param {TimelineViewport} viewport The viewport to use to determine what
     * is near to the current selection.
     *
     * @return {boolean} true if current selection changed.
     */
    getShiftedSelection: function(viewport, offset) {
      var newSelection = new Selection();
      for (var i = 0; i < this.length_; i++) {
        var event = this[i];

        var addEventToNewSelection = function(event) {
        };

        // If this is a flow event, and we have a next/prev item in the chain
        // then we use that as the item to move too. Otherwise, we let the
        // normal movement for a slice kick in and use that.
        if (event instanceof tracing.trace_model.FlowEvent) {
          if ((offset > 0) && event.nextFlowEvent) {
            newSelection.push(event.nextFlowEvent);
            continue;
          } else if ((offset < 0) && event.previousFlowEvent) {
            newSelection.push(event.previousFlowEvent);
            continue;
          }
        }

        var track = viewport.trackForEvent(event);
        track.addItemNearToProvidedEventToSelection(
            event, offset, newSelection);
      }

      if (newSelection.length == 0)
        return undefined;
      return newSelection;
    }
  };

  return {
    Selection: Selection,
    RequestSelectionChangeEvent: RequestSelectionChangeEvent
  };
});
</script>


text:
package com.beyondar.android.util.task.example;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;

public class MainActivity extends Activity implements AdapterView.OnItemClickListener{

    private ListView mLisViewt;
    private String[] values = new String[] { "Task with UI thread access", "Task with dependencies" };

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.example_list);

        mLisViewt = (ListView) findViewById(R.id.examplesList);

        fillList();

    }

    private void fillList() {
        ArrayAdapter<String> adapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, values);
        mLisViewt.setAdapter(adapter);
        mLisViewt.setOnItemClickListener(this);
    }

    private void openActivity(Class<? extends Activity> ActivityClass) {
        Intent intent = new Intent(this, ActivityClass);
        startActivity(intent);
    }

    @Override
    public void onItemClick(AdapterView<?> arg0, View arg1, int pos, long arg3) {
        switch (pos) {
            case 0:
                openActivity(TaskWithUiThreadAccessActivity.class);
                break;
            case 1:
                openActivity(TaskWithDependenciesActivity.class);
                break;
            case 2:
                break;
            case 3:
                break;
            default:
                break;
        }
    }

}


text:
/* Alloc.h -- Memory allocation functions
2021-07-13 : Igor Pavlov : Public domain */

#ifndef __COMMON_ALLOC_H
#define __COMMON_ALLOC_H

#include "7zTypes.h"

EXTERN_C_BEGIN

void *MyAlloc(size_t size);
void MyFree(void *address);

#ifdef _WIN32

void SetLargePageSize(void);

void *MidAlloc(size_t size);
void MidFree(void *address);
void *BigAlloc(size_t size);
void BigFree(void *address);

#else

#define MidAlloc(size) MyAlloc(size)
#define MidFree(address) MyFree(address)
#define BigAlloc(size) MyAlloc(size)
#define BigFree(address) MyFree(address)

#endif

extern const ISzAlloc g_Alloc;

#ifdef _WIN32
extern const ISzAlloc g_BigAlloc;
extern const ISzAlloc g_MidAlloc;
#else
#define g_BigAlloc g_AlignedAlloc
#define g_MidAlloc g_AlignedAlloc
#endif

extern const ISzAlloc g_AlignedAlloc;

typedef struct
{
  ISzAlloc vt;
  ISzAllocPtr baseAlloc;
  unsigned numAlignBits; /* ((1 << numAlignBits) >= sizeof(void *)) */
  size_t offset;         /* (offset == (k * sizeof(void *)) && offset < (1 << numAlignBits) */
} CAlignOffsetAlloc;

void AlignOffsetAlloc_CreateVTable(CAlignOffsetAlloc *p);

EXTERN_C_END

#endif


text:
#import "NSObject.h"

#import "DVTInvalidation-Protocol.h"

@class DVTStackBacktrace, NSMutableDictionary, NSSet;

@interface IDEMediaRepository : NSObject <DVTInvalidation>
{
    NSMutableDictionary *_observers;
}

+ (id)defaultMediaRepositoriesForContainer:(id)arg1 fileDataTypes:(id)arg2;
+ (id)defaultMediaRepositoryClasses;
+ (id)defaultRepositoryExtensions;
+ (id)defaultRepositoriesExtensionPoint;
+ (void)initialize;
- (void).cxx_destruct;
- (id)registerMediaRepositoryObserverWithOptions:(unsigned long long)arg1 block:(id)arg2;
- (void)didUnregisterMediaRepositoryObserver;
- (void)willRegisterMediaRepositoryObserver;
- (void)notifyObserversOfAddsAndModifies:(id)arg1 andDeletes:(id)arg2;
@property(readonly, nonatomic) NSSet *resources;
- (void)primitiveInvalidate;

// Remaining properties
@property(retain) DVTStackBacktrace *creationBacktrace;
@property(readonly) DVTStackBacktrace *invalidationBacktrace;
@property(readonly, nonatomic, getter=isValid) BOOL valid;

@end


text:
var HoriEvaluator = (function(){
  /**
     @memberof Nehan
     @class HoriEvaluator
     @classdesc evaluate {@link Nehan.Box} as horizontal layout, and output DOMElement.
     @constructor
     @extends {Nehan.LayoutEvaluator}
  */
  function HoriEvaluator(){
    LayoutEvaluator.call(this, "hori");
  }
  Nehan.Class.extend(HoriEvaluator, LayoutEvaluator);

  HoriEvaluator.prototype._evalInlineChildTree = function(line, tree){
    return this._evaluate(tree, {
      name:"span"
    });
  };

  HoriEvaluator.prototype._evalLinkElement = function(line, link){
    return this._evaluate(link, {
      name:(link.isTextBlock()? "span" : "a")
    });
  };

  HoriEvaluator.prototype._evalInlineImage = function(line, image){
    return this._evaluate(image, {
      name:"img",
      css:image.getCssHoriInlineImage(line)
    });
  };

  HoriEvaluator.prototype._evalRuby = function(line, ruby){
    return [
      this._evalRt(line, ruby),
      this._evalRb(line, ruby)
    ];
  };

  HoriEvaluator.prototype._evalRb = function(line, ruby){
    var rb_style = new StyleContext(new Nehan.Tag("<rb>"), line.style);
    var rb_line = rb_style.createLine({
      elements:ruby.getRbs()
    });
    return this._evaluate(rb_line, {
      css:ruby.getCssHoriRb(line)
    });
  };

  HoriEvaluator.prototype._evalRt = function(line, ruby){
    return this._createElement("div", {
      content:ruby.getRtString(),
      className:"nehan-rt",
      css:ruby.getCssHoriRt(line)
    });
  };

  HoriEvaluator.prototype._evalWord = function(line, word){
    return this._createElement("span", {
      content:word.data,
      css:word.getCssHori(line)
    });
  };

  HoriEvaluator.prototype._evalTcy = function(line, tcy){
    return this._createElement("span", {
      css:tcy.getCssHori(line),
      content:tcy.data
    });
  };

  HoriEvaluator.prototype._evalChar = function(line, chr){
    if(chr.isSpace()){
      return this._evalSpace(line, chr);
    }
    if(chr.isTabSpace()){
      return this._evalTabChar(line, chr);
    }
    if(chr.isCharRef()){
      return document.createTextNode(Nehan.Html.unescape(chr.getData(line.getFlow())));
    }
    if(chr.isKerningChar()){
      return this._evalKerningChar(line, chr);
    }
    if(chr.isPaddingEnable()){
      return this._evalCharWithSpacing(line, chr);
    }
    return document.createTextNode(chr.getData(line.getFlow()));
  };

  HoriEvaluator.prototype._evalCharWithSpacing = function(line, chr){
    return this._createElement("span", {
      content:chr.getData(line.getFlow()),
      css:chr.getCssPadding(line)
    });
  };

  HoriEvaluator.prototype._evalEmpha = function(line, chr){
    var char_part = this._evalEmphaSrc(line, chr);
    var empha_part = this._evalEmphaText(line, chr);
    var wrap = this._createElement("span", {
      css:line.style.textEmpha.getCssHoriEmphaWrap(line, chr)
    });
    wrap.appendChild(empha_part);
    wrap.appendChild(char_part);
    return wrap;
  };

  HoriEvaluator.prototype._evalEmphaSrc = function(line, chr){
    return this._createElement("div", {
      content:chr.getData(line.getFlow()),
      className:"nehan-empha-src",
      css:chr.getCssHoriEmphaSrc(line)
    });
  };

  HoriEvaluator.prototype._evalEmphaText = function(line, chr){
    return this._createElement("div", {
      content:line.style.textEmpha.getText(),
      className:"nehan-empha-text",
      css:chr.getCssHoriEmphaText(line)
    });
  };

  HoriEvaluator.prototype._evalKerningChar = function(line, chr){
    var css = chr.getCssPadding(line);
    if(chr.isKakkoStart()){
      css["margin-left"] = "-0.5em";
      return this._createElement("span", {
	content:chr.getData(line.getFlow()),
	className:"nehan-char-kakko-start",
	css:css
      });
    }
    if(chr.isKakkoEnd()){
      css["margin-right"] = "-0.5em";
      return this._createElement("span", {
	content:chr.getData(line.getFlow()),
	className:"nehan-char-kakko-end",
	css:css
      });
    }
    if(chr.isKutenTouten()){
      css["margin-right"] = "-0.5em";
      return this._createElement("span", {
	content:chr.getData(line.getFlow()),
	className:"nehan-char-kuto",
	css:css
      });
    }
    return document.createTextNode(chr.getData(line.getFlow()));
  };

  HoriEvaluator.prototype._evalPaddingChar = function(line, chr){
    return this._createElement("span", {
      content:chr.getData(line.getFlow()),
      css:chr.getCssPadding(line)
    });
  };

  HoriEvaluator.prototype._evalSpace = function(line, chr){
    return this._createElement("span", {
      content:" ",
      className:"nehan-space",
      css:chr.getCssHoriSpaceChar(line)
    });
  };

  HoriEvaluator.prototype._evalTabChar = function(line, chr){
    return this._createElement("span", {
      content:" ",
      className:"nehan-tab",
      css:chr.getCssHoriTabChar(line)
    });
  };

  return HoriEvaluator;
})();


text:
package deployerpod

import (
	"fmt"
	"strconv"

	"github.com/golang/glog"

	kapi "k8s.io/kubernetes/pkg/api"
	kerrors "k8s.io/kubernetes/pkg/api/errors"
	"k8s.io/kubernetes/pkg/client/cache"
	"k8s.io/kubernetes/pkg/client/record"
	kclient "k8s.io/kubernetes/pkg/client/unversioned"

	osclient "github.com/openshift/origin/pkg/client"
	deployapi "github.com/openshift/origin/pkg/deploy/api"
	deployutil "github.com/openshift/origin/pkg/deploy/util"
)

// DeployerPodController keeps a deployment's status in sync with the deployer pod
// handling the deployment.
//
// Use the DeployerPodControllerFactory to create this controller.
type DeployerPodController struct {
	store   cache.Store
	client  osclient.Interface
	kClient kclient.Interface

	// decodeConfig knows how to decode the deploymentConfig from a deployment's annotations.
	decodeConfig func(deployment *kapi.ReplicationController) (*deployapi.DeploymentConfig, error)

	// recorder is used to record events.
	recorder record.EventRecorder
}

// transientError is an error which will be retried indefinitely.
type transientError string

func (e transientError) Error() string { return "transient error handling deployer pod: " + string(e) }

// Handle syncs pod's status with any associated deployment.
func (c *DeployerPodController) Handle(pod *kapi.Pod) error {
	// Find the deployment associated with the deployer pod.
	deploymentName := deployutil.DeploymentNameFor(pod)
	if len(deploymentName) == 0 {
		return nil
	}
	// Reject updates to anything but the main deployer pod
	// TODO: Find a way to filter this on the watch side.
	if pod.Name != deployutil.DeployerPodNameForDeployment(deploymentName) {
		return nil
	}

	deployment := &kapi.ReplicationController{ObjectMeta: kapi.ObjectMeta{Namespace: pod.Namespace, Name: deploymentName}}
	cached, exists, err := c.store.Get(deployment)
	if err == nil && exists {
		// Try to use the cache first. Trust hits and return them.
		deployment = cached.(*kapi.ReplicationController)
	} else {
		// Double-check with the master for cache misses/errors, since those
		// are rare and API calls are expensive but more reliable.
		deployment, err = c.kClient.ReplicationControllers(pod.Namespace).Get(deploymentName)
	}

	// If the deployment for this pod has disappeared, we should clean up this
	// and any other deployer pods, then bail out.
	if err != nil {
		// Some retrieval error occurred. Retry.
		if !kerrors.IsNotFound(err) {
			return fmt.Errorf("couldn't get deployment %s/%s which owns deployer pod %s/%s", pod.Namespace, deploymentName, pod.Name, pod.Namespace)
		}
		// Find all the deployer pods for the deployment (including this one).
		opts := kapi.ListOptions{LabelSelector: deployutil.DeployerPodSelector(deploymentName)}
		deployers, err := c.kClient.Pods(pod.Namespace).List(opts)
		if err != nil {
			// Retry.
			return fmt.Errorf("couldn't get deployer pods for %s: %v", deployutil.LabelForDeployment(deployment), err)
		}
		// Delete all deployers.
		for _, deployer := range deployers.Items {
			err := c.kClient.Pods(deployer.Namespace).Delete(deployer.Name, kapi.NewDeleteOptions(0))
			if err != nil {
				if !kerrors.IsNotFound(err) {
					// TODO: Should this fire an event?
					glog.V(2).Infof("Couldn't delete orphaned deployer pod %s/%s: %v", deployer.Namespace, deployer.Name, err)
				}
			} else {
				// TODO: Should this fire an event?
				glog.V(2).Infof("Deleted orphaned deployer pod %s/%s", deployer.Namespace, deployer.Name)
			}
		}
		return nil
	}

	currentStatus := deployutil.DeploymentStatusFor(deployment)
	nextStatus := currentStatus

	switch pod.Status.Phase {
	case kapi.PodRunning:
		nextStatus = deployapi.DeploymentStatusRunning

	case kapi.PodSucceeded:
		nextStatus = deployapi.DeploymentStatusComplete

		config, decodeErr := c.decodeConfig(deployment)
		// If the deployment was cancelled just prior to the deployer pod succeeding
		// then we need to remove the cancel annotations from the complete deployment
		// and emit an event letting users know their cancellation failed.
		if deployutil.IsDeploymentCancelled(deployment) {
			delete(deployment.Annotations, deployapi.DeploymentCancelledAnnotation)
			delete(deployment.Annotations, deployapi.DeploymentStatusReasonAnnotation)

			if decodeErr == nil {
				c.recorder.Eventf(config, kapi.EventTypeWarning, "FailedCancellation", "Deployment %q succeeded before cancel recorded", deployutil.LabelForDeployment(deployment))
			} else {
				c.recorder.Event(deployment, kapi.EventTypeWarning, "FailedCancellation", "Succeeded before cancel recorded")
			}
		}
		// Sync the internal replica annotation with the target so that we can
		// distinguish deployer updates from other scaling events.
		deployment.Annotations[deployapi.DeploymentReplicasAnnotation] = deployment.Annotations[deployapi.DesiredReplicasAnnotation]
		if nextStatus == deployapi.DeploymentStatusComplete {
			delete(deployment.Annotations, deployapi.DesiredReplicasAnnotation)
		}

		// reset the size of any test container, since we are the ones updating the RC
		if decodeErr == nil && config.Spec.Test {
			deployment.Spec.Replicas = 0
		}
	case kapi.PodFailed:
		nextStatus = deployapi.DeploymentStatusFailed

		// reset the size of any test container, since we are the ones updating the RC
		if config, err := c.decodeConfig(deployment); err == nil && config.Spec.Test {
			deployment.Spec.Replicas = 0
		}
	}

	if deployutil.CanTransitionPhase(currentStatus, nextStatus) {
		deployment.Annotations[deployapi.DeploymentStatusAnnotation] = string(nextStatus)
		if _, err := c.kClient.ReplicationControllers(deployment.Namespace).Update(deployment); err != nil {
			if kerrors.IsNotFound(err) {
				return nil
			}
			return fmt.Errorf("couldn't update Deployment %s to status %s: %v", deployutil.LabelForDeployment(deployment), nextStatus, err)
		}
		glog.V(4).Infof("Updated deployment %s status from %s to %s (scale: %d)", deployutil.LabelForDeployment(deployment), currentStatus, nextStatus, deployment.Spec.Replicas)

		// If the deployment was canceled, trigger a reconcilation of its deployment config
		// so that the latest complete deployment can immediately rollback in place of the
		// canceled deployment.
		if nextStatus == deployapi.DeploymentStatusFailed && deployutil.IsDeploymentCancelled(deployment) {
			// If we are unable to get the deployment config, then the deploymentconfig controller will
			// perform its duties once the resync interval forces the deploymentconfig to be reconciled.
			name := deployutil.DeploymentConfigNameFor(deployment)
			kclient.RetryOnConflict(kclient.DefaultRetry, func() error {
				config, err := c.client.DeploymentConfigs(deployment.Namespace).Get(name)
				if err != nil {
					return err
				}
				if config.Annotations == nil {
					config.Annotations = make(map[string]string)
				}
				config.Annotations[deployapi.DeploymentCancelledAnnotation] = strconv.Itoa(config.Status.LatestVersion)
				_, err = c.client.DeploymentConfigs(config.Namespace).Update(config)
				return err
			})
		}
	}

	return nil
}